In our previous post, we have configured SharePoint 2010 Server with CMIS Connector Services Producer. This post talks about adding and configuring CMIS Connector Services Consumer Web Part to a Web Page. We will also be testing the CMIS Consumer service by listing down all the documents uploaded to a particular sharepoint document repository.
Read more ...
Search This BlogMar 23, 2012Configuring CMIS Consumer in Sharepoint 2010 serverConfiguring CMIS in Sharepoint 2010 server
Content Management Interoperability Services a.k.a CMIS is a standard defined for Enterprise Content Management (ECM) systems such as SharePoint server, Documentum, Alfresco and others. The standard defines a domain model plus Web Services and Restful AtomPub bindings that can be used by other applications. 3. Download Microsoft SharePoint 2010 Administration Toolkit from here and save the file to hard disk SharePoint 2010 Administration Toolkit installs two components:4. Double click SharePoint2010AdministrationToolkit.exe file to start the installation. 5. Accept the license agreement and click next. Make sure CMIS connectors are selected for the install. Click Next 6. Use the default installation directory. Click Next and Finish. CMIS Connector is successfully installed Read more ... Mar 17, 2012Configuring password less access to remote systems using ssh-keygen utility
When we say password less authentication, we mean that the client authentication is carried out using public and private keys. Generate public/private key pair Read more ... Mar 16, 2012Installing And Configuring SSH server on Windows
We will be making use of Cygwin utilities to configure and run ssh as service on windows machine. Installing Cygwin on a windows machine is pretty straight forward. Download the latest Cygwin installation setup.exe from the Cygwin site and follow the below instructions. Step 2. Choose the download source Step 3. Select the root directory of the Cygwin. This directory is synonymous to / in linux Step 4. Select the directory where you want to keep the installation files. You can save this directory and use at a later point to install Cygwin on any windows machine using this directory. Click 'OK' if prompted to create the directory if it does not exists Step 5. Select the type of connection you are using to connect to internet. Step 6. Choose a download site. Step 7. Clicking next opens up the 'Select Packages' screen. Step 8. Select the Open SSH server and client programs from the 'Select Packages' screen. Step 9. Click next to start the installation. This will install the following utilities in your Cygwin's /usr/bin directory ssh-add.exe ssh-agent.exe ssh-host-config ssh-keygen.exe ssh-keyscan.exe ssh-user-config ssh.exe 2. Configuring ssh as Windows service Run ssh-host-config utility to configure sshd server on windows. Select 'no' when prompted for 'Should privilege separation be used? (yes/no)'. Select 'yes' when prompted for 'Do you want to install sshd as service?'. Choose default options for other options. The above will install CYGWIN sshd service on Windows. To start the service execute net start sshd 3. Connecting using Cygwin ssh client (ssh.exe) ssh.exe user@ssh-server 4. Connecting through putty Add the server's host key to registry. This will add an entry into the ~/.ssh/known_hosts file Login using windows user and password Read more ... Feb 10, 2012Reverse a stack in place
Write a C/C++ Program to reverse a stack in place? Solution: 1. Whenever in place conversion is required, use recursion which will make use of function stack to store the variables 2. Pop out all the elements from the given stack recursively and store them in a variable. 3. As the stack unwinding happens, push the variable obtained at each unwinding step to the bottom of the stack. Refer method push_to_bottom below //pop out all the elements, use function stack to store the elements void stack_reverse(std::stack<int> &s) { if(s.empty()) { return; } int elem = s.top(); s.pop(); stack_reverse(s); //pass the element obtained during the unwinding of the function //stack and store it at the bottom of the given stack 's' push_to_bottom(s, elem); } void push_to_bottom(std::stack<int> &s, int elem) { //stack is empty so elem will be placed at the bottom of the stack 's' if(s.empty()) { s.push(elem); return; } //stack is not empty, so popping out the elements, using function //stack to store the elements and storing the given element at the //bottom of the given stack 's' int top = s.top(); s.pop(); push_to_bottom(s, elem); s.push(top); } Read more ...
Subscribe to:
Posts
(
Atom
)
|