|
Integrating_with_Sun_Access_Manager_aka_OpenSSO
IntroductionIn October 2006 I wrote a simple LoginModule for SUN's Access Manager (opensso) which uses openinfocard to decrypt the xmltoken and authenticate him by his infocard. The LoginModule is very basic, but can be extended to be usefull (I guess). Currently it accepts users by their email address and a fixed password. This SHOULD be changed to PPID and the Modulus (or the hash thereof) found in the decrypted token. If the login is successfull you are redirected to a demo shop website (which IP address you don't know). You have to change this behaviour in the java code. Remember this is a demo -> NO WARRANTY. http://openinfocard.googlecode.com/svn/trunk/AccessManager-LoginModulInfocard/ Installation
This copies the files to your Access Manager installation e.g.: https://n1v1.e1.i3alab.net/amserver/UI/Login?module=LoginInfoCard Please note: The makefile copies your webserver's private key to the alias directory. This may not what you want. This is because the standard Sun One webserver uses the NSS library to implement SSL. There is NO way to retrieve the private key from a NSS keystore. The private key is needed to decrypt the xml token because the Cardspace identity selector encrypted the token using the webserver's public key. You could configure the webserver to use a java keystore and change the code to retrieve the key from it. Some Pictures
If you click on the "card" the infocard selector should be launched.
|
Sign in to add a comment
I have no idea of a make file do you have ant build system for the same?