How to retrieve authentication policy responses?

In my server OAM (OAM 11.1.1.5), I set up a response to the authentication strategy to retrieve the user information after signing to the user, the response called "UserID", the value is "$user.userid", is of type 'Cookie '.

My question is:
If I use the WebGate, I have obtained the answer after the user logged on. But I need to develop a use of portal to the ASDK to replace the WebGate, I don't know how to retrieve the elements of response by the ASDK.

----------
Here is the access log captured by Fiddler, "http://auth.mydomain.com/login.aspx" is my custom login page.

-----------------------------Web Gate 10g (IIS)----------------------------

GET http://alan-hu.mydomain.com/oamtest/index.aspx HTTP/1.1
Accept: application/x-ms-application, image/jpeg, xaml application / + xml, image/gif, image/pjpeg, application/x-ms-application xbap, application / vnd.ms - excel, application / vnd.ms - powerpoint, application/msword, * / *.
Referer: http://auth.mydomain.com/login.aspx?authn_try_count=0&request_id=6476845472436935518&OAM_REQ=VERSION_4%7EFC5cvGlDZbKLQVbcnbvJSmtBw163LKRGyryAQ8b3CvEpVzVXpqqVE3Nbdcf3K7J957wIyP1d%252bEHNaC92smcnXnYxZr7xSfW8eNMU9NlFRnCUoNBTNXR6jZr8Ug8zqnSau5U%252bEnlInxHudS%252bTzD%252bUy5E9qUfX6lySlHfesJbBBH2yubEJ%252fJVrjbetqv5L295D1mhF%252f7VKyTED%252fAOv2LaVjT7Mi9PGkKDwGkZy9Th5vKVCvT58V%252fEYEgWqawE2LUv%252fb9nh7mdP5gRGBcoDpIeqXWo1F9G767%252feG9vPxM7jZRlGWcMKuYQYSn1oTg%252fL1KBE0KW2EJPvOiBpsplU7e0BvbqWgoSR8ctora%252fj2DHbHZh7m2k1GulUeBRiF3MKbY8XulBEtOYIuc02qVNhlQg2XAHOOk%252bqQ1Z6oua3DWH0aru6jnlFNpsTx6Rk2Q4WHAhXqKPzTwjtVHLgs%252b7Fb32D2Ncz%252fQqx%252b%252bfRtK9yS4YSNcoA3AmF15HoHgFd0lXQzUuQzxsDiho5S6GRc5QY2UvTz%252fsoC0Osismkd%252bUx0yZtxeFJrqA1%252f%252b9eeN%252fEFLMes2%252bxn7jxDP9ahl% 252bDKaF9GdypVNZAKSdxSdUKcVCWHneHRRRtqdW8jcUEcTzohuCdCOvEgETz%252fksM7nsFHq01GHakc8174sXvcEE1l1jvsPy8f1CBf75DtguanLVIfenmUEp7kcRhe1vIgiBxmNefuhMKhLV%252fW%252fveJgnuMtWZ%252bgc2Yr%252bYFL5Qe9yz3Zz0Zn2d4PAzZWiS9teBrLqzAk6dU5dM9JTGdthstrhwjovP96J252mAGrRjo%252fFWTByyfrXYoQzETxV8QCDl8kDWaCsZl6V3Ahm94gDcTQrW8MYK8PJDlkUlnVtRtaDevrv4%252fQY%252bFvo78W1iKYM9v9O%252fu0EgPqyOJBg%252fYsBC5fI4VV7OvLZ1YoPb2v6IsepN9avD8nTB6B%252f5ZW0z1IxocptShWgjb5fMrDclA%252fEqgShz0QXzkoOa80cqLu%252bNEG7aUHQQXhZEG42zCN0NaJZbENpksK5ZyKo8U92KdjdSgHeUsFbWA0jZ%252b5nIIYHtesLFwoRZw%252f%252bbceyXAG8%252b6LMjJWYsRpl8bKKJejnOIvzM1dlY7PQ%252bf8eCtGxPkCaCa%252bkuJUkhHcK%252bsS5T2JMyocrBj0hIZsBXiWIrtmGr5h%252bbQIT8TdTfVCmUiv3zBRgDSvQqpJ3hAFc0NIk6zJS%252bPxSquhuYIH15G7zeN%252faW3sRecDpH8% 252bFqa7HsT7xDukI2c6Ro3x7Bvp5MBEBSITibP41PJo7f5kPP6wFIk3rMpsC9r7zsSU0pzN3RvWn5M5gNyQ4EZVuwYMFCfgIAjRKRcNUWHebwSMxsOhwrsYESNfA9rFYxtOapzvIcx63B%252baR%252bsQXHI%252fQ4eoP2VBkkCOktummpQ41bDC6elI5LhFrAlSwCT5qv4ytCSBRan6OfMZ%252bLSA5J%252fkFtTvx2aNbV&locale=en_US
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729 .NET CLR 3.0.30729; Media Center PC 6.0; NET4.0C;. NET4.0E)
Cookie: ObSSOCookie=NQqPNA%2BvLoyIujMLO%2F3VWalLMpFbnK6IW4uvEl1piC8hoQVQw%2FqGbDdkVg%2BDDcx1O7YeJhFVYinyJtKF8vI3VTQ%2BL3StaWFRZFLl7KqHnQEqdNVgkn4FCfx49t2KzXNQ%2FxLBkF0olHoNU1P01VTMOdQsq4hzdc6C0B7X6PM9hoaVGWvVmsbUKr5BmqWBG0aHbT1HXgNKlVsDimyz2Q9iy%2Briiu8%2B7x190rm8PTm3uXqEUqs4zuvOSdjZGs77uUFzeYnEzQb6T9gcZqyUvo8OtXqnmrUtPwdva8UrV9GlUkymsWDDtNk3iIqapLxQL1oXHO0iH2KXzXfUAcnQca%2BfNw%3D%3D
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Pragma: non-cache
Host: alan - hu .mydomain .com


HTTP/1.1 200 OK
Cache-Control: non-cache, private
Pragma: non-cache
Content-Length: 649
Content-Type: text/html; charset = utf-8
Set-Cookie: UserID = TEST; Path = /.
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 5 July 2012 08:14:13 GMT

-----------------------------My Access Gate (IIS)----------------------------

GET http://alan-hu.mydomain.com/oamtest/index.aspx HTTP/1.1
Accept: application/x-ms-application, image/jpeg, xaml application / + xml, image/gif, image/pjpeg, application/x-ms-application xbap, application / vnd.ms - excel, application / vnd.ms - powerpoint, application/msword, * / *.
Referer: http://auth.mydomain.com/login.aspx?authn_try_count=0&request_id=-8854367975480028914&OAM_REQ=VERSION_4%7EslyJg6j%252fLhjd%252b%252b%252fAFDpFiRr4cPvaT3dU90HILcJWiqxptP4dV%252fNkm4eAzVOznnJmtFh8SNMg4G5K2IuCABhCNxJuFau4XUgfRJtQl03anU6YgU1U%252fc3nRevxNFTZ8bIGALMXNiGbtnNO7c9WRUy%252bekw7T5YidA2qr103PNQD0g36jKosUb2aT2kOYJ0HoZizyW%252bCeI2ARhjuqB4Kc0Kfv%252fHuZCCwcUychXY5cGDlcD2UVl9YRwEGBdcYnweNbps18LqmQNm0%252fJYh2XwW80hNKqRBQBGPUCrYP8A0XIF2%252bUFvViDfqcuK05n0vv5NErxih%252bgtZKRObD6pHsnLOd2a19jUU%252fsFaFYQ0n5UdTN0JSx8yFtvEjdwXKya2PGqKqHa2JzEXhLBXTP5eC4EavAwAMbVRVtNTle%252fU29tDOuUtb1NLTBsqI63ipchzUvouQ6QREcybIXErAMX06X9gpwEtMBXYCppIiV%252b67XpETVzcmMuOl% 252bSj9Aha6AKy3yPYlEOTA0o5HqOMe2NTu2sSvJxUJJW0ZYXvqkprkWsaw5SBACH473KY7WS0kqUIiV7UoN60cRdT9I3fAdyuLzWDS7dhGKKTstmpTxClQQNlw7XcDfdczqJJBRSwbZQyomnSPRcO%252f%252f5EY56wSXMJLv5WDkfb3RC4Va5rzXeQn1McihExvrymn6ztZ2A6zZso%252b0jDObEa%252bWioCBinvdK%252bF85qk8ai%252bLal30b27oNzFHKc1AELQ7eP%252bkoyXDYQpVeHfX9ujHGAcEdN4FTGyxBoIohbQb%252fEvl3uEga%252fsufBa%252fVcFVM8WTI59kUSOCKankogv9ABry7CxYByZURjjloQp1CZif%252fuN1ddg5yGMuqmvY7OFz8BIT8mm%252b0klysXJbcneztKbVm2njffvj29gardyyFZ1%252fXDPqMJM1OKVcughERRZW%252fHbBFZ5h%252fupGqhgXaNXZGoeg%252bm8iaAXqrxRIg7NHmK7VnEtIV2qo4iDYWl%252fmf09eJJHMrhhQNRLjV5drgiIwGuPZWVC4irUhXBOPixks8StHx0c0TV%252boIRPxiyupLJKzdlE0SBjplC1%252ffMjiVgQGqZ2zena7601QT89vmuU%252bkO1NoAnN8iwZNF1dT45RDbfg8TLcK1C0CGb29eN7dbwBtbgnAAOXX8F421RTSv9W6UAn%252bttP%252fr2teYO8eXOwFkGMrGkdxdt% 252b7%252fj9oH1nJ92Mviv5fiuxhnx9ukvyjQdkdGl0gnGVehnDIQODIXEG0EmEo9%252fJtQkNjgwLlKvTK5bcqIg0Kez27GqEKYhNc4XRsuYsfPQ2byH%252bnnsSDz%252bOLo43ub8vZ7XNWjMtQrNUpfbOwmw5jhfPsU9E2xgYTHGvDdbKBrLXgxQrO%252fSflCzRPhpc5gE9zOOFkCskHxy%252b%252bI8zyJFT7lEaIhz6WgXa5nk3An%252b9yukw2YkoFe1WB%252bfZsgdr%252fq%252b%252blUqjfUf1G5lHDUjODh0qh&locale=en_US
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729 .NET CLR 3.0.30729; Media Center PC 6.0; NET4.0C;. NET4.0E)
Cookie: ObSSOCookie=fhyRb/mqqsz1Tk7Ma3aAvuTmisrarOveqR1FWPkCOKcMG860oQ/V/trZzor0ZPZs4lOl3yHvf83Jj1ahsffCMIueaSlJqHoBZPFB+uLlof9KV6OzyztVzLaxUql/qddGnzajvRs0ti9vKx84AsnMEbZwTcYdf8CNesOh5aSSgz4r6U2D3/rWaT/s1h7vda9rUhD7McjybboHWThM1sKVUGmDFJBA3XdXpwCbG+L35yw5NdablTgB8KOCaAiYDSNsbRkDRluzAxrwD9r/glEq9xI7X3fQ+t40PEQ/sIVFAy+BH6fqXUUEN6D8sc3GKt5RxxTzNzaHLoczlLyakAainQ==
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Pragma: non-cache
Host: alan - hu .mydomain .com


HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset = utf-8
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 5 July 2012 08:29:41 GMT
Content-Length: 649

Yes you can user authentication policy response to retrieve information about the user.
ASDK provides APIs to retrieve information from the user. Here is the link for the api reference - http://docs.oracle.com/cd/E23943_01/apirefs.1111/e22472/toc.htm

You can use UserSession-> getActions() to retrieve actions specified in the authentication response.

Hope this helps,
Sagar

Tags: Fusion Middleware

Similar Questions

  • Creation of OAM authentication Plugins, plans and policy responses by command line

    Hi all

    I was plenty around, search the internet and MOS but did not find anything so far.

    In OAM (11.1.2.2.4) I am trying to create a PlugIn for authentication, specify the step, the config params, orchestration, and so on. It works pretty well through the GUI. However, as I have a lot of different situations to deal with, I would like to automate this, using a command line tool (wlst.sh I think).

    Does anyone know how I could do?

    Side, I would also seek the same for patterns of authentication and responses, but I hope that as soon as I know how to do it on the plugin from I can derive from those others here.

    It is doable but completely undocumented. What you need to do is wlst write scripts that access the mbean OAM, who is responsible for the update of oam - config.xml to add the required parameters.

    What I do is to capture the current settings (IE make a backup of oam-config. (XML), and then perform the configuration via oamconsole. Then, compare the oam - current config.xml with the backup and note the differences. Using wlst and OAM mbean to add these entries. This wil you require to understand how to upgrade the config.XML of oam - via the mbean and involves a bit of understanding of jython to do the job.

    For policy responses and enforcement strategies, you can use the OAM REST interface which you can drive from curl or anything that can handle http requests. It is much easier to use than rreg.

  • all my files were deleted and I don't know how to retrieve them.

    Original title: maintenance cleaning disc

    all my files were deleted and I don't know how to retrieve them.

    Hi BarbaraJenkins,

    ·         How do you delete files?

    ·         Did you remove them permanently? (Shift + delete)

    ·         What is the operating system installed on the computer?

    You can check if the files are available in the Recycle Bin

    Windows 7: recover files from the Recycle Bin

    Windows Vista: recover files from the Recycle Bin

    If there are no files in the Recycle Bin, then unfortunately, you maybe not be able to recover their return.

    However, try looking for a third-party software that can help you to do. You may need to search the Internet.

    Important note: this response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

  • BBM how to retrieve BBM be hacked or how to catch the pirate?

    Hello everyone, I have a few requests here as member of my family comes from live be hacked:
    -can I know if we provide BBN, PIN, could we know email ID used to register?
    -How to retrieve the BBM be hacked?
    -How to catch the pirate?
    Thanks in advance!

    Most likely you allowed someone to get your credentials BBID, or you have been deceived into giving them upward.

    This is the management of Blackberry users who have their BBID diversion...

    -------------
    In these scenarios, the user must email\contact our office of privacy protection
     
    http://CA.BlackBerry.com/legal/privacy-policy.html
     
     
    10. questions or concerns? How to contact us
    BlackBerry welcomes your questions or comments about this privacy policy and the way in which we treat your personal information. If you have any questions, concerns, or you want to request access to your personal information under the privacy or data protection laws, please communicate with BlackBerry, either by e-mail or in writing and we will use commercially reasonable efforts to respond:
    email: [email protected], or
    write to one of the following offices of the nearest BlackBerry you:
    BlackBerry Privacy Office c/o BlackBerry (attention Legal Department), 2200 University Avenue East, Waterloo, Ontario, Canada N2K 0 to 7
    BlackBerry Privacy Office c/o BlackBerry (attention Legal Department), 200 Bath Road, Slough, Berkshire, United Kingdom SL1 3XE
    BlackBerry Privacy Office c/o BlackBerry (attention Legal Department), 1 International Business Park, The Synergy Building, 2nd Floor, Singapore 609917
    ------------

  • I forgot my 4 digit number for my iphone how to retrieve or change?

    I forgot my 4 digit PIN for my iphone how to retrieve or change?

    Take a look:

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

  • Hi our friend has an old e-mail address on his old phone and e-mail account is now closed he should drop his photos and has a new email address, how he retrieve it please

    Hi our friend has an old e-mail address on his old phone and e-mail account is now closed he should drop his photos and has a new email address, how he retrieve it please

    Even if the e-mail account is closed the Apple is still valid. If he has forgotten the password, see: If you forgot your Apple ID - Apple Support password

    What follows has instructions on how to change the e-mail address he serves his Apple ID: change your Apple - Apple Support ID

  • I renamed a folder and it disappeared. How to retrieve it?

    Please forgive this if redundant post, I received an error message when I posted this.

    I renamed a folder in Thunderbird, but it disappeared immediately. I opened all closed files to ensure it had not moved, but it does not appear on the left side of the screen. Any ideas where he might have or how to retrieve the contents of the folder?

    Thanks in advance.

    I have marked you post as solved, but could you share how. We get a lot of very similar questions. Your experience can help me by informing the next person.

  • I deleted my app podcast how to retrieve it?

    I deleted my app podcast how to retrieve it?

    If you have an iTunes backup - you may be able to restore back to the top and the app will be restored with her

    Or

    You can download it from the app store

  • Replacement of Firefox 3.6.16 containing my history, bookmarks etc to version 4.0, I find that it does not open on my Mac Power PC G4 OS 10.4.11. It's a compatibility problem, and how to retrieve version 3.6 with my favorites etc.

    Replacement of Firefox 3.6.16 containing my history, bookmarks etc to version 4.0, I find that it does not open on my Mac Power PC G4 OS 10.4.11. Is there is a compatibility issue and how to retrieve version 3.6 with my favorites etc.

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third part of Firefox 4 version that works under OS X 10.4/10.5 and PPC Macs, for details, see http://www.floodgap.com/software/tenfourfox

    If you prefer, you can get the latest version of Firefox 3.6 http://www.mozilla.com/en-US/firefox/all-older.html

    When you install one of the above it will use your existing bookmarks, etc.

  • How to retrieve text messages deleted from the Iphone 5

    How to retrieve deleted messages of I Phone 5?

    Unfortunately there is no way to recover messages text deleted from an iPhone, unless you had a previous backup in iTunes before delete you messages. Restore this backup would be the only way to recover deleted messages. Once they are deleted they are gone forever, unlike the Photos that you can pick up if accidentally deleted by restoring their from the album "recently deleted".

  • I sent an email to someone by mistake, how to retrieve the email until the receiver reads?

    I sent an email to someone by mistake, how to retrieve the email until the receiver reads?

    I sent an email to someone by mistake, how to retrieve the email until the receiver reads?

    You can not. It's like putting a letter in a physical mailbox. There is no way to recover it.

  • I lost my all emails from my email yahoo between the period 2007 2011 bt0. How to retrieve

    I have mistakenly punched some bad tab in my yahoo mail. account in my name of * address email is removed from the privacy *.  for the period 2007-2o11. Please indicate how to retrieve the same

    It's something that only YAHOO can answer.  You should be in touch with them.  I wouldn't count on resume.

  • How to retrieve forgotten names of users and passwords for windows mail?

    How to retrieve forgotten names of users and passwords for windows mail?

    How to retrieve forgotten names of users and passwords for windows mail?

    Contact your ISP, Internet service provider or your mail server.
    They have all the information to your email account.

  • How to retrieve the network icons and the taskbar sound? They disappeared

    original title: extraction and network icons

    How to retrieve the network icons and the taskbar sound?  They disappear from the notification area of the taskbar.

    Hello

    There are different ways to fix it

    read all the information on the link below

    Try Method 1 or 3

    Method 1. :

    1. right click on the taskbar and click Properties.

    2 tab Area of Notification .

    3 check the (on) or disable (off) the options you want or do not want to display on the Taskbar Notification area

    Method of reading 3 etc. in the link below

    How to enable or disable the Notification area system icons in Vista

    http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html

  • Accidentally deleted "Recycle icon '.» How to retrieve it? Windows Vista

    I accidentally deleted "icon of Recycle" on my desktop.  How to retrieve it?
    Using Windows Vista on a Dell Inspiron 530 home.

    Hello

    http://support.Microsoft.com/kb/810869

    There is also an automatic fix - it on the link above of microsoft

    To resolve this problem in Windows Vista, follow these steps:

    1. Click Startand then click Control Panel.
    2. Click appearance and personalization, click personalization, and then click onChange desktop icons.
    3. Click to select the Recycle Bin check box, and then click OK.

    Or try this way:

    http://ITsVISTA.com/2007/01/ITsVISTA-tip-19-restore-your-Vista-Recycle-Bin-icon/

    1. right click on your desktop and choose personalize
    2. click on the Change Desktop Icons link in the upper left corner
    3. in the desktop icons settings window, check the Recycle Bin box, and clickOK

    and see if you are interested in these items accidentally does you new in the future

    http://www.howtogeek.com/HOWTO/Windows-Vista/disable-deletion-of-the-Recycle-Bin-in-Windows-Vista/

    How to display the "Delete" command of the context menu Recycle Bin in Windows Vista

    http://www.Winhelponline.com/articles/142/1/how-to-hide-the-delete-command-from-Recycle-Bin-context-menu-in-Windows-Vista.html

Maybe you are looking for

  • Satellite L855 - 12 X: how to use BD - RE with TOSHIBA Recovery Media Creator

    Hi all My question is about the progress of the Recovery Media Creator.I was about to create the recovery and I noticed that there are several options (DVD 4.7 GB, DVD 8.5 GB and Flash memory). My Toshiba Satellite L855 - 12 X with a Blu - ray burner

  • G1 255 HP drivers for windows 7 32 bit

    currently pilots in the website does not work on my PC, after testing other drivers from Realtek I know what the problem with drivers, he keeps shouting on competability, where can I download the alternative drivers from a different location? Thank y

  • HP 5610 all-in-one printer: printing problems from the internet

    my printer Hp 5610 all in one printer don't print properly on the internet, bold text is readable, any type is barely legible, and in some cases, unreadable. I have downloaded and run the hp print and scan doctor and followed touble shooting recommen

  • help sos

    before that I can't on my computer, my computer got this problem. I have on the .com, the shot of the thing before I get into the office, I restart and the sreeen became black and he wrote 'err1err3"wat means and wat should do.

  • How to read the QFile data?

    Hi all Today I try the code to read the data below, but whenever I get null so may I know how do I get the data from the file? readFromFile: -. QString ApplicationUI::readFromFile() { QFile textfile("data/files/text/newfile.txt"); QString str = ""; i