com.sun.identity.security
Class SystemAppTokenProvider

java.lang.Object
  extended bycom.sun.identity.security.SystemAppTokenProvider
All Implemented Interfaces:
AppSSOTokenProvider

public class SystemAppTokenProvider
extends java.lang.Object
implements AppSSOTokenProvider

This is an default implementation of AppSSOTokenProvider. It creates application single sign on token with credentials of user name and password which are parameters to the constructor.


Constructor Summary
SystemAppTokenProvider(java.lang.String appUserName, java.lang.String appPassword)
          Constructs a SystemAppTokenProvider.
 
Method Summary
 SSOToken getAppSSOToken()
          Returns Application single sign on token.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemAppTokenProvider

public SystemAppTokenProvider(java.lang.String appUserName,
                              java.lang.String appPassword)
Constructs a SystemAppTokenProvider.

Parameters:
appUserName - identity to authenticate.
appPassword - password of appUserName.
Method Detail

getAppSSOToken

public SSOToken getAppSSOToken()
Returns Application single sign on token.

Specified by:
getAppSSOToken in interface AppSSOTokenProvider
Returns:
application single sign on token.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.