Friday May 01, 2009
Romanticizing the OpenSSO WSSAuth Authentication Module
The WS-Security specifies the Username Token Profile for providing basic authentication information. The profile describes how the UsernameToken element can be used as a means for communicating a user identifier and password between a web service provider (WSP) and web service client (WSC). The OpenSSO WSSAuth authentication module validates the credentials presented by the WSC using the UsernameToken profile.
PasswordDigest element. Using this element adds security as the password is not exposed as clear text. The following steps show how to configure for authentication using the Username Token profile with a one way hash password.
- Login into the OpenSSO console as administrator.
- Navigate to Access Control -> / (Top Level Realm) -> Agents -> Web Service Client -> wsc
- Select UserName Token as the value of Security Mechanism.
This uses thePasswordDigestoption. - Enable User Authentication Required to generate a user token.
- Change the Name and Password values for the Credential for User Token.
This attribute contains the shared secrets used by the WSC to generate a user token. The password should be the same as the hashed password stored in the OpenSSO configuration data store. Useldapsearchif the data store is Directory Server. NOTE: This step is for demonstration purposes only. In real deployments, the WSC and WSP would have a common agreement about their password storage policy. - Navigate to Access Control -> / (Top Level Realm) -> Authentication.
- Create a new authentication chain named
wssauthchain.
See Configuring an Authentication Process Using the OpenSSO Enterprise Console. - Click
wssauthchainin the list of authentication chains. - Add WSSAuth as the required Authentication Mechanism and click Save.
- Navigate to Access Control -> / (Top Level Realm) -> Agents -> Web Service Provider -> wsp
- Select UserName Token as the value of Security Mechanism and
wssauthchainas the authentication chain. - Click Save.
Posted at 08:25AM May 01, 2009 by Michael Teger in Sun | Comments[0]
Comments:
