How to access Sharepoint List using a Different user. Access SharePoint List using some Authentication

Hi,
SharePoint version 2010
I am building an application in Java and would want to accesss a SharePoint List through REST. I have been trying to find out how the authentication process would work once i want to deploy it into Production. 
I am not able to find anything useful to send user detail / authentication. Can you please help me out here.
Thanks,
Bhaskar.
Thanks, Bhaskar

Hi,
According to your post, my understanding is that you want to access SharePoint list from Java application through REST.
 In some cases you may need to create a new access token (this is somewhat akin to "running as a different user").
Essentially, you are using a different user's security context. Typically, you would create an Active Directory account specifically for this purpose and then grant appropriate rights to the user account in SharePoint.
http://sharepoint.stackexchange.com/questions/83440/authenticate-external-systems-against-sharepoint-rest-services
There are some articles about this topic, you can have a look at them.
http://stackoverflow.com/questions/10722215/authenticating-to-sharepoint-with-kerberos-from-a-java-httpclient
http://ctp-ms.blogspot.com/2012/12/interoperability-between-java-and.html
Thanks,
Jason
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support

Similar Messages

  • I log in under different user and can not use our pictures on iPhoto, how can i use them under different user?

    After creating and signing in under a different user on imac, how can i use iphoto pictures?

    If you want to access the same library from different user accounts on your Mac put the library on an external hard drive connected to the iMac and make sure it's formatted OS X Extended (journaled) with ownership set to be ignored.
    OT

  • How to print/list all the groups/users present in Weblogic using Java code

    Hi,
    Weblogic version : 11.1.1.5
    How to print/list all the groups/users present in Weblogic using Java code
    I want to make a remote connection to Weblogic server and print all the users/groups present in it.
    I have gone through the below mentioned site, but I cannot use the same approach since most of the API' are deprecated for example "weblogic.management.MBeanHome;"
    http://weblogic-wonders.com/weblogic/2010/11/10/list-users-and-groups-in-weblogic-using-jmx/
    Thanks in advance,
    Edited by: 984107 on 05-Feb-2013 05:26
    Edited by: 984107 on 05-Feb-2013 22:59

    see this http://www.techpaste.com/2012/06/managing-user-groups-wlst-scripts-weblogic/
    Hope this helps.

  • How to store jsp session data of different user in util.hashmap

    how to store jsp session data of different user in java.util.hashmap
    and access the data of all user on the server side
    The same example is given in professional jsp but its not working.
    I can use getIds() of httpsessioncontext but it's depricated

    Hi
    I'm trying to make an example.
    With the following codes you can get the date from the session.
    request.getSession().getAttribute("sessionname")
    To store it in a hashmap you could do it like this ->
    Hashmap hm = new Hashmap();
    hm.put(Object key, request.getSession().getAttribute("sessionname"));
    I hope you understand it if not just write it!
    Cyrill

  • Using different templates for different user access types.

    Hi all,
    I have an issue where we have a Page Group with lots of pages/sub-pages.
    There are three different User Groups, Internal, Customer and Supplier.
    I need to display the same content but with different templates (look and feel), one for the Internal, one for the customer and one for the supplier.
    Can this be done using Oracle Portal 10.1.14? If so, how?
    Many thanks.

    Hi,
    Yes you can do what you want to do in 10.1.4.
    You can call a procedure in your HTML Layout Template which will write some CSS. This procedure will be executed with the USERID parameter.
    Your procedure will check if the current user is a customer or a supplier and your CSS will reflect the differences (with different colors or whatever...)
    Good luck,
    Max.

  • How can different user on one PC use all programs

    I have two user on one PC and it should be possible that all user can use all programms.
    Is it possible?
    What do I have to do?

    Mac OS X is inherently a Multi-User system, even if you were to create only one User account on it.
    Mac OS X maintains completely separate System Files, protected from most arbitrary access, and Applications and Utilities are stored there to be used by all users.
    Changeable information, including Preferences that seem to be system-wide, are actually stored in User directories under:
    /Users/your username/
    To have multiple Users run the same programs with different settings, you must do the following:
    • Nothing.
    Your Mac is already set up to do exactly that.
    EDIT: Allan Eckert types faster than I do, and brings up an important point.
    The Applications included with Mac OS X and installed automatically are placed in:
    /Applications and
    /Applications/Utilities
    and are available to all Users.
    If you Install an Application in a User directory, it will only be available to that user.
    So don't do that!
    Install Applications in the standard places, which WILL require that you provide an Administrator Username and Password.

  • Can i access my iTunes on a different "user accounts" on my MacBook Pro?  If so, how?  Thanks.

    Hello Mac People, I am trying to access iTunes from a different User Account on my MacBookPro but i am not able to get access to it.  I was trying to change a song in a keynote presentation and discovered that i was not able to change the song from that "Guest User" account.  So i had to go back into my main account open up keynote there, change the song and then i could continue with it in the new system.  It seems a permission issue with iTunes on a different user account (i am talking about like in System Preferences>Systems>Users and Groups - where you create additional users on your mac)???  Thoughts? Thanks.

    See if this helps: http://support.apple.com/kb/HT1203.

  • How can I consolidate all photos from different users on one computer?

    We just enable one computer to be the "Family" computer. I want to be able to consolidate all photos from the different users into one location. That way no matter wich user is login they can see and browse all the family photos. How can I do that? Do I need and external drive?
    Thanks in advance?
    MoMa

    Move the iPhoto Library to the Users/Shared folder, or you can use an external disk formatted Mac OS Extended (Journaled).
    Merge the Libraries as Larry says, with the paid version of Library Manager.
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Each account will have full access to the library, in fact, each account will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • How to set up reverse proxy to allow user access portal site from internet

    Hi all,
    I have installed 10g(10.1.2.0.2) AS on same machine(single IP for both mid and infra with different users respectively). there is a DMZ on which windows IIS is working through which we need to redirect the request to application server such that users access portal page from internet (within intranet all URLs are working fine). I have went through technet documentation where i found 3 ways : through this link
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13998/variants.htm
    Section 9.2.1.1, "Configuring OracleAS Web Cache as a Reverse Proxy"
    Section 9.2.1.2, "Configuring the Oracle HTTP Server as a Reverse Proxy"
    Section 9.2.1.3, "Configuring Internet Information Services as a Reverse Proxy"
    I am confused to which option to use. Also i went through the metalink document 270160.1
    Please help me which option to choose to do this.
    Thanks.

    Hi Hozy,
    May be it's too late, I am thinking to go in the same route for our sap portal access to external customers. Please can you share your experience , like what are the challenges have you faced? what is the complexity? what are all the resources we need to configure this?
    I appreciate your feedback.
    Thanks
    Krish

  • Using a different user(other than default PI user) with adapter module

    Hi,
    We are having a custom adapter module built to interact with a Hardware Security Module(HSM). This custom adapter module by default uses a PI user configured in the system. However, we are not able to pass commands to HSM because of insufficient authorizations to this PI user. Now, we do not exactly know the permissions required for the user to access HSM. We have asked the HSM support team about the same. However, I wanted to explore the possibility of using a different PI user to work with the adapter module and eventually pass commands to HSM.
    We have an admin user configured which has all the necessary authorizations. Is it possible to use this admin user created on PI system to work with adapter module so that it passes commands to HSM?
    Thanks,
    Ravi Desai

    We have given the necessary authorizations to PI user.

  • HT3819 How do I share downloaded tracks between different users on same mac?

    Hello.  I bought my new Mac a couple of months ago.  I set it up with three different users, one for myself as admin, one for my wife, and one for our daughter, all on the same Mac. My wife and I both have our own Itunes account.  I spent a couple of days downloading almost all of our CDs into my Itunes library.  Now, I want to know how my wife and daughter can access these songs in their libraries so that they can put tracks on their Ipods.  So far, the only option that I have been able to see is the downloading of the CDs all over again into my wife's library.  Wouldn't this just make duplicate tracks on the Hard Drive?  If anyone can help, or point me in the right direction, it would be much appreciated.
    Thank you.

    It works for "initial sharing" but the described solution includes some drawbacks;
    - songs added under one account don't show "automatically" for other users
    - if added there is a copy of the song-file (* 2.mp3)
    - no "bulk" import withoud re-adding already present songs
    Any workarounds for these problems known? 'caus I'm getting tired to keep the 3 iTune Libs of my girls in synch
    AdvTHANKSance Chris

  • SharePoint: Workflow to retrieve all users and Create list item record for each user

    Hi all,
    My share point site have two Lists as Holidays and MyCalender.
    Actually Holiday is simple non-Calender list with field as Holiday Date, Reason. MyCalender List Calender type list with Person Look-up column and user can see his own record. User of Manager group will declare holiday. This Holiday should get reflected
    on each user 's MyCalender List.[One listitem as holiday date and reason for each user] so everyone can view that record.
    I have requirement as Manager will create one Holiday record and then run single workflow so for all users present in SharePoint Site, one MyCalender List Item record should get created. Is it possible to do using Workflow?? Please help as I didn't get any
    solution for this.. Thanks in advance!

    You don't need one workflow per user when a filtered view can do this for you.  If the manager's list is the parent calendar, I'm assuming that he'll be at least using the person look-up column.
    Whether this feeds through the MyCalendar or stays where it is, you can use the [Me] parameter within the filter on a new view.  This will then return the assigned holiday filtering against the account that is logged in.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to use rdbms as users data store in a form authentication webapp?

    Hi,ALL!
    WLS 10.3
    This is part of web.xml:
    <security-constraint>
         <web-resource-collection>
              <web-resource-name>secureweb</web-resource-name>
              <url-pattern>/secureweb/*</url-pattern>
         </web-resource-collection>
         <auth-constraint>
              <role-name>Users</role-name>
         </auth-constraint>
    </security-constraint>
    <login-config>
         <auth-method>FORM</auth-method>
         <form-login-config>
              <form-login-page>/login.htm</form-login-page>
              <form-error-page>/login_fail.jsp</form-error-page>
         </form-login-config>
    </login-config>
    Every time I want to access web page in /secureweb/,it takes me to /login.htm,and when I want to login on from /login.htm,it takes me to /login_fail.jsp,so I think there is nothing wrong with web.xml but WLS's configuration.
    There is only one Security Realm called "myrealm" in my domain,and besides the DefaultAuthenticator and DefaultIdentityAsserter,I created a new SQL Authencator called sql_auth in front of them,after that,I created tables(USERS,GROUPS,GROUPMEMBERS) in my Oracle database accordding to the configurations in sql_auth,and insert some user data.
    But it never successed when I used the data in the database to test the authentication,it allways go to the /login_fail.jsp page...
    What's wrong there?
    Best Regards!
    Edited by: Linyin.Huang on Jun 18, 2009 5:02 AM

    Hello,these are the SQLs from the "provider specific" configuration tab in my SQLAuthenticator,in fact,it's provided by WLS,and I have never modified them:
    SQL Get Users Password:SELECT U_PASSWORD FROM USERS WHERE U_NAME = ?
    SQL Set User Password:UPDATE USERS SET U_PASSWORD = ? WHERE U_NAME = ?
    SQL User Exists:SELECT U_NAME FROM USERS WHERE U_NAME = ?
    SQL List Users:SELECT U_NAME FROM USERS WHERE U_NAME LIKE ?
    SQL Create User:INSERT INTO USERS VALUES ( ? , ? , ? )
    SQL Remove User:DELETE FROM USERS WHERE U_NAME = ?
    SQL List Groups:SELECT G_NAME FROM GROUPS WHERE G_NAME LIKE ?
    SQL Group Exists:SELECT G_NAME FROM GROUPS WHERE G_NAME = ?
    SQL Create Group:INSERT INTO GROUPS VALUES ( ? , ? )
    SQL Remove Group:DELETE FROM GROUPS WHERE G_NAME = ?
    SQL Is Member:SELECT G_MEMBER FROM GROUPMEMBERS WHERE G_NAME = ? AND G_MEMBER = ?
    SQL List Member Groups:SELECT G_NAME FROM GROUPMEMBERS WHERE G_MEMBER = ?
    SQL List Group Members:SELECT G_MEMBER FROM GROUPMEMBERS WHERE G_NAME = ? AND G_MEMBER LIKE ?
    SQL Remove Group Memberships:DELETE FROM GROUPMEMBERS WHERE G_MEMBER = ? OR G_NAME = ?
    SQL Add Member To Group:INSERT INTO GROUPMEMBERS VALUES( ?, ?)
    SQL Remove Member From Group:DELETE FROM GROUPMEMBERS WHERE G_NAME = ? AND G_MEMBER = ?
    SQL Remove Group Member:DELETE FROM GROUPMEMBERS WHERE G_NAME = ?
    SQL Get User Description:SELECT U_DESCRIPTION FROM USERS WHERE U_NAME = ?
    SQLSet User Description:UPDATE USERS SET U_DESCRIPTION = ? WHERE U_NAME = ?
    SQL Get Group Description:SELECT G_DESCRIPTION FROM GROUPS WHERE G_NAME = ?
    SQL Set Group Description:UPDATE GROUPS SET G_DESCRIPTION = ? WHERE G_NAME = ?
    And these are the SQLs for creating tables(Oracle 11G):
    CREATE TABLE USERS(
    U_NAME VARCHAR2(50) PRIMARY KEY,
    U_PASSWORD VARCHAR2(50) NOT NULL,
    U_DESCRIPTION VARCHAR2(50) NOT NULL);
    CREATE TABLE GROUPS(
    G_NAME VARCHAR2(50) PRIMARY KEY,
    G_DESCRIPTION VARCHAR2(50) NOT NULL);
    CREATE TABLE GROUPMEMBERS(
    G_NAME VARCHAR2(50) NOT NULL,
    G_MEMBER VARCHAR2(50) NOT NULL,
    CONSTRAINT PK_GROUPMEMBERS PRIMARY KEY(G_NAME,G_MEMBER));
    INSERT INTO USERS(U_NAME,U_PASSWORD,U_DESCRIPTION)VALUES('usera','passworda','userdesa');
    INSERT INTO GROUPS(G_NAME,G_DESCRIPTION)VALUES('groupa','groupdesa');
    INSERT INTO GROUPMEMBERS(G_NAME,G_MEMBER)VALUES('groupa','usera');
    COMMIT;
    I still can't see any users or groups in my SQLAuthenticator...
    Thank you!
    Edited by: Linyin.Huang on Jun 18, 2009 1:39 PM

  • How do you separate bookmarks for two different users on the same computer?

    My wife and I use the same desktop and the same Firefox browser. Is there a way to have separate bookmark lists for each of us? We don't really need subtopics or other organizers, just two separate lists.

    Either separate Windows User Accounts or separate Firefox Profiles will give you separate bookmarks lists, but all your personal data will be separate - passwords, extensions, browsing history, etc. I haven't seen an addon that will give you separate bookmarks storage within the same Firefox Profile.
    https://support.mozilla.com/en-US/kb/Profiles

  • Power Shell Web Access - How to limit the cmdlets and give regular users, access to perform tasks

    It is possible to give to regular/standard users, powershell web access to give only, for example, "get-" cmdlets?
    The ideia is to provide help desk tech users, a minimum level of access on some servers, and it will be usefull to give then, basic and restrcted access to a few cmdlets, performe harmless activities and mybe some level of access, not alloweing to to using
    RDP, but PS, insted

    While PowerShell Web Access (PSWA) does require authorization rules to function, these rules do not specify what cmdlets can be used in a PSRemoting session. The PSWA authorization rules define what user, or group of users, can remotely connect to what computer,
    or group of computers, through the PSWA gateway (the PSWA server).
    What you need to research are session configurations and/or endpoints. These are separate from PSWA, but can be used in conjunction with PSWA (PSWA website > Optional connection settings > Configuration >
    NameOfConfiguration), just as they can in a standard console-based PSRemoting session (Enter-PSSession -ComputerName
    server01 -Configuration NameOfConfiguration -or- Invoke-Command -ComputerName
    server01 -Configuration NameOfConfiguration).
    Start your research with New-PSSessionConfigurationFile and then Register- and Unregister-PSSessionConfiguration. These have been great for our environment, allowing non-admin users access to run very specific cmdlets as an admin, without being an admin
    on the computer.

Maybe you are looking for

  • Could not create certificate request

    jdev version: 10.1.2.3.0 Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod PL/SQL Release 10.2.0.4.0 - Production TNS for Linux: Version 10.2.0.4.0 - Production How can i create a certificate signing request like that: CN=EURTRANSBEL O

  • Https via upstream proxy fails

    Something has changed at an upstream proxy that we use. now in chrome we try any https sites we get: Error 111 (net::ERR_TUNNEL_CONNECTION_FAILED) In IE we just get page not found http 400 bad request. What should I be saying to the upstream proxy fo

  • Forms Developer vs Forms Server

    Hello All, What is diffence between Oracle Forms Developer and Oracle Forms Server? when should we use Oracle Forms Server? Regards, DN

  • DICOM objects to MS SQL

    Hello everyone. I need to create two interfaces: 1. First one for Oracle with DICOM objects, 2. Second one for MS SQL database. I want to synchronize Oracle database (some part of tables) with MS SQL. The question is how can I do this (I need synchro

  • Error in cancel invoice - Message 8B462

    Hi Gurus, I need your help for find the solution about one error in MR8M - delivery cost. When we try to cancel invoice document (MR8M) - NF type - C1 - Conhecimento incoming, the system shows for us the message: An error occured while reading table