Configuring Security for SiteMinder Token and Basic Authentication

Use Sybase Control Center to create a security configuration for your single sign-on (SSO) applications.

  1. In Sybase Control Center, navigate to the Unwired Platform Cluster pane and select Security.
  2. In the General tab, click New and name your security configuration.
  3. Open the Security folder and select your configuration. In the Authentication tab, click Add to add a LoginModule.
  4. Choose the ClientValuePropagatingLoginModule and add these properties:
    • Implementation Class – com.sybase.security.core.ClientValuePropagatingLoginModule
    • ClientHttpValuesAsPrincipals – sm_user
    • ClientHttpValuesAsNamedCredentials – smsession:SMSESSION2
    • Control Flag: optional
    Note: ClientHttpValuesAsNamedCredentials ensures that if the client application picked up an SMSESSION cookie either using Network Edge authentication or an external token, it is saved as a credential named SMSESSION2 on the subject so it can be used for SSO to a SiteMinder-protected EIS. Therefore, the credential.a.name property is SESSION2. Also, ClientHttpValuesAsPrincipals uses the sm_user HTTP header if the client has used Network Edge authentication and enables you to perform impersonation checking.
  5. Click OK.
  6. In the Authentication tab, select the default NoSecLoginModule and click Delete. LoginModule allows logins without credentials, and you must remove it for security integrity.
  7. In the Authentication tab, click New to add a provider.
  8. Select and configure the HttpAuthenticationLoginModule:
    1. Select com.sybase.security.http.HttpAuthenticationLoginModule and click Yes in the Duplicate Authentication Provider warning.
    2. Configure the module's properties so the SiteMinder-protected URL has the same policy server that issued the SMSESSION cookie to the client.
      • ClientValuesToSend = SMSESSION
      • SendClientValuesAs = cookie:SMSESSION
      This causes Sybase Unwired Platform to forward the cookie to the specified SiteMinder-protected URL. If the HTTP status response code is 200, then the SMSESSION cookie is valid and the user is considered authenticated.
  9. In the Authorization tab, select the NoSecAuthorizer provider type and click Delete.
  10. In the Settings tab, adjust the properties as follows:
    • Authentication cache timeout(seconds) – 0
    • Maximum number of failed authentications – 5
    • Authentication lock duration(in seconds) – 600
  11. Click Apply.
  12. In the General tab, click Validate to check your configuration.
  13. With successful validation, click Apply to save all changes.
For detailed examples focusing on SiteMinder specific configurations for Sybase Unwired Platform, see How-To: Set up SUP with SiteMinder at http://scn.sap.com/docs/DOC-29574.