How to access to SSO username and password from JPDK

Hello
Does anybody know how to access, from Java PDK, to SSO username
and password of user, currently connected to portal.
Thank's,
Tomaz Podbersic

The portal user's password is one way hash algorithm (MD5) that
cannot be reversed.
What you'll have to do is setup a "External Application" and
save an alternate username/password profile in that area. It
requires the user to first enter that data (but only 1 time) the
first time into that application.
===========================================
<HELP NOTE>
If anyone knows of an API to populate those tables when seeding
or creating the user names to also seed or create the "external
applications" user /pass this would be helpful.
============================================
JSP java code:
====================
PortletRenderRequest portletRequest = (PortletRenderRequest)
request.getAttribute (HttpProvider.PORTLET_RENDER_REQUEST);
ProviderUser myUser=(ProviderUser) portletRequest.getUser();
=====================
From this object instance you can get the user's name, and other
Portal session info. NOT password.
The External Application username & password is a bit more
tricky to get.
see:
SQL Login Problems

Similar Messages

  • How can I get the username and password from Oracle Forms to PJC !

    Dear Sir,
    I have username,password and push button fields in oracle forms. When user clicks the push button, I need to get username and password field contents to my Pluggable Java Program to authenticate the user trying to login. How can I get those text field contents to my java program..? Looking forward from you soon sir.
    Thanks in Advance,
    S Ramkumar

    I tried that trigger but nothing reflects. I write that method in WHEN_BUTTON_PRESSED trigger.
    In the form module I written,
    Set_Custom_Property('BL.USERNAME',1,'NAME','');
    Set_Custom_Property('BL.PASSWORD',1,'PASS','');
    Implementation class of the push button I gave my java class file name.
    In Java Code I tried register the form fields like,
    public static final ID userName = ID.registerProperty("NAME");
    public static final ID passWord = ID.registerProperty("PASS");
    In Java Code I tried get the contents from registered properties,
    public boolean setProperty(ID property, Object value) {
    if(property == userName) {
    System.out.println("Just I wish to see the name entered" + value.toString());
    if(property == passWord) {
    System.out.println("Just I wish to see the pass entered" + value.toString());
    But even System.out.println() is working.
    What's wrong with this code sir ???
    Can you tell me How to register and get those field values in Java ?

  • How do i send the username and password to yahoo web page through url

    how do i send the username and password to yahoo web page through url i.e as Query string so that my account in yahoo will open...

    If you don't mind using a library, then download and use the Apache HttpClient library. It takes care of all these details for you.

  • How can i clear the usernames and passwords history from all login websites?

    how can i clear the usernames and passwords in the log in history of the websites? example when i want to login to my facebook i always type first letter of my e-mail and it comes with the passwords because before i put remember my password, and in other websites so, i just need to delete all this login history and it's not working from the clear everything !!! :S any idea please !! thanks in advance :)

    See:
    http://kb.mozillazine.org/Deleting_autocomplete_entries
    http://kb.mozillazine.org/Password_Manager

  • How to know username and password from existing PPPOE broadband connection?

    Hi All,
    I am using windows server 2008 R2, and now I've used PPPOE broadband connection to connect the internet. what I am asking is how to know the username and password from my PPPOE setting, I have the requirement to create same setting in the difference machine.
    thanks.

    You can get this info from your ISP. This one may help.
    Create a Broadband connection using PPPoE in Windows Vista and Windows Server 2008
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • I have purchased an Apple TV from a friend. How do I replace his username and password with mine?

    I have purchase an Apple TV from a friend.  How do I replace his username and password with mine.

    Sign out and sign in with your own Apple ID.

  • Extracting username and password from security header

    Hey all,
    I'm writing a BPEL process that invokes two secured web services. One of them authenticates using Username Token and the other has a authenticate method in which the username and password are supplied as Strings. I have successfully propagated the credentials from the BPEL process to the web service using Username Token by doing the following:
    1) I secured my BPEL process
    2) I imported oasis-200401-wss-wssecurity-secext-1.0.xsd and from it created a variable of type Security
    3) I added the security variable to the Header Variables for the BPEL process input
    4) I added the security variable to the Input Header Variables for the web service's invoke operation
    This worked fine. However, I need to be able to extract out the username and password and supply them as Strings to the authenticate method of the other web service. How can this be done? If it can't, what are some alternatives?
    Environment:
    JDeveloper 11.1.1.6.0
    Thanks,
    Bill

    Hi Sri,
    If I understand your steps correctly, I think the problem I'm having rests with the second step. I don't know how to get a hold of the username and password to assign to the local variables you mention. The BPEL process itself uses Username Token for authentication. These credentials need to be passed to the web services invoked within the BPEL process. If I assign the security header variable directly to the string output for the BPEL process, the string returned will be the complete XML security header, which includes the username and password. However, the security header variable itself doesn't expose the username and password directly. In other words, I can't expand the security header variable node in the dialog for editing the Assign operation and get to the username and password. I think one solution is to parse out the username and password from the complete XML security header using string operations (substring, index-within-string, etc). Also, regarding step 4, I'm not sure if passing the credentials in the header will work for this web service. I think the web service is expecting the credentials as parameters to its authenticate method.
    Thanks,
    Bill

  • Webdynpro application taking MDM username and password from LDAP

    Hi All,
    I am working on EP-MDM integration.
    EP-LDAP , MDM-LDAP and EP-MDM have been integrated.
    The requirement is :
    When we run a webdynpro application from EP , it should take the user id and password of EP user who is currently logged in.(which is actually LDAP user and also exists for MDM) without hard coding it.
    The application will work according to the roles guaranteed to the user in MDM for eg: the user will be able to write into MDM only if he has read/write permissions in MDM.
    Please tell how the application will fetch the username and password from the EP details.
    Regards
    Shilpa

    Hi,
    You need to set a trusted connection between the EP and MDM System.
    And use the trusted connection JAVA API in the Web Dynpro to make a connection to MDM Repository. Trusted connection JAVA API will ask you only the username and not the password.
    Regards,
    Amol

  • Loading the username and password from database when login to xMII

    Hi
      can you explain briefly about how to configure the netweaver for loading username and password from database when the user login to xMII via netweaver platform?
    In xMII 11.5 we are configuring xMII itself? but in xMII 12.0 configuring by netweaver platform. if anyone know please explain step by step

    I am sending you some java code, which you can use in JSP.
    import java.sql.*;
    public class connectOracle{
    public static void main(String[] args) {
    System.out.println("Getting Column Names Example!");
    Connection con = null;
    String url = "jdbc:oracle:thin:@172.16.0.21:1521:orcl";
    String driver = "oracle.jdbc.driver.OracleDriver";
    String user = "scott";
    String pass = "tiger";
    try{
    Class.forName(driver);
    con = DriverManager.getConnection(url, user, pass);
    catch (SQLException s){
    System.out.println("SQL statement is not executed!");
    catch (Exception e){
    e.printStackTrace();
    }

  • HT204085 removing icloud username and password from old iphone

    I sold a previously owned iPhone and the person who purchased it cannot create an iCloud account on it.  He said my iCloud account is still attached to the iPhone.  Is there a way to remove any iCloud username and password from the device?

    Read here: http://support.apple.com/kb/TS4515.

  • Forgot username and password from the email iCloud chozhe not know forgot. purchase the product, all documents have. What to do?

    forgot username and password from the email iCloud chozhe not know forgot. purchase the product, all documents have. What to do?

    If you don't know your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625.  If you don’t know your password you can reset the password as explained here: http://support.apple.com/kb/PH2617.

  • How do I transfer my memos and passwords from my Verizon Blackberry Storm 2 to my VErizon Iphone 4S?

    I purchased the new Iphone 4S and have successfully transferred my contacts list and setup my email account.  I would like to transfer my memos from Memo Pad and my passwords from Password Keeper on my Verizon Blackberry Storm 2 to my new Verizon IPhone 4S.  How do I transfer my memos and passwords from my Verizon Blackberry to my Verizon Iphone?  Thanks.

    Contacts are designed to be synced with a supported address book application on your computer, which is selected under the Info tab for your iPhone sync preferences with iTunes. Select the same under the Info tab for your iPad sync preferences with iTunes followed by a sync and the contacts in the supported address book application on your computer which are also available on your iPhone will be transferred to your iPad.
    Photos in your iPhone's Camera Roll can and should be imported by your computer as with any other digital camera. After the photos are imported by your computer and placed in a designated folder or album on your computer, select this album or folder under the Photos tab for your iPad sync preferences with iTunes along with any other photos on your computer that you want transferred to your iPad followed by a sync.

  • How do I disable administrator username and password entry to access ix4-300d

    With the recent version 4.1.102.29716 update, I am now FORCED to enter a username and password to get into my "home based" ix4-300d NAS.  This has already been a MAJOR pain for my nedia server setup, in that I am no longer able to create a network drive to one of several NAS folders on to my home network.
    My question therefore is, how do I DISABLE the function of having to enter an administrator username and password to gain entry into my ix4-300d?
    Thanks,
    Bill

    No hazzle, just do it.
    This is only for admin purposes. You are still able to place your media into individual user shares or put it in the public area where they will be accessible for everyone, even if you set 'security' on.
    Various PCs / Laptops ( sorry I still really love Dell and Fujitsu ;-))
    Supporting Customers ix2s and ix4s -- Love Networking ( not only technically ).
    I am not a Lenovo Employee.
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!

  • How do I clear stored usernames and passwords for my podcasts?

    We currently operate a password-protected RSS feed for the subscription portion of our website. For the most part it works flawlessly; people can subscribe to the feed and receive daily updates to their iTunes. If their account is canceled or goes on hold for non-payment then our database deactivates their username, which halts access to the feed.
    That all works well. The problem is that if they re-subscribe to the subscription portion of our website they receive a new username and password. Then, when they go to re-subscribe to our password-protected podcast they are not prompted in iTunes for their new username or password. iTunes simply uses the old username/password combo from their canceled account, which makes the podcast fail to update.
    So essentially, I'm asking how we can manually clear iTunes' stored usernames and passwords for podcasts. Thanks!

    Figured it out. Just gotta delete keychain.plist, which is found in one of the following two spots:
    C:\Users\YOURUSERNAME\AppData\Roaming\Apple Computer\Preferences\keychain.plist
    C:\Documents and Settings\YOURUSERNAME\AppData\Apple Computer\Preferences\keychain.plist

  • How to extract username and password from CRMOD

    I have a requirement where i have make a jsp paget hru which user can upload doc in UCM and embed in CRMOD using Web Applet.But at the backend the UCM requires CRMOD username and password.How can i extract username and password frm crmod using java.

    You can get this info from your ISP. This one may help.
    Create a Broadband connection using PPPoE in Windows Vista and Windows Server 2008
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Maybe you are looking for

  • When I am trying to assign a job to my name, i am getting an error.

    Hi, In R12, when I am trying to assign a job to my name, i am getting an error(APP-PER-07510: You cannot continue, Future changes exist). my user was end dated. i deleted that end date and trying to working on that, i can create a new user and will w

  • Adding Solid State Hard Drive

    Hi. I recently purchased my Mac Pro, and my wife and I both use it heavily for Creative Suite. I've decided that I'd like to upgrade to get the best performance I can (within economic reason, of course) out of it. So I've been doing a lot of research

  • Grant privileges

    Hi, I am trying with grant command. I went into scott user and typed the command as "grant select on s345 to apps". Now I can select the data of s345 from apps user. Apart from that I am able to update,insert the values into the table. Actually this

  • Higher Education Mini Owners in the UK

    I just purchase a mac mini and a 20" display. will my monitor be covered by the three year extended warranty that is given to all higher education students for free now? screenshot http://virtuoso33.googlepages.com/Picture1.png or will just my mac mi

  • TS1646 Cancel a purchase

    I need to cancel an unpaid purchase. None of my updates will download due to this one separate purchase which was not paid for due to a change in card number. The purchase is not a completed one without card number so I don't see why it is insisting