com.fatwire.wem.sso
Class SSO

java.lang.Object
  extended by com.fatwire.wem.sso.SSO

public class SSO
extends java.lang.Object

Single Sign On API entry point. Use it to obtain a new SSO Session.


Constructor Summary
SSO()
           
 
Method Summary
static SSOSession getSSOSession()
          Obtains a default SSO session, which is typically loaded in a Web application by the Spring Context Loader.
static SSOSession getSSOSession(java.lang.String configName)
          Obtains a new SSO session by loading configuration from a Spring configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSO

public SSO()
Method Detail

getSSOSession

public static SSOSession getSSOSession()
                                throws SSOException
Obtains a default SSO session, which is typically loaded in a Web application by the Spring Context Loader.

Returns:
SSO session.
Throws:
SSOException - if an error occurred during the loading.

getSSOSession

public static SSOSession getSSOSession(java.lang.String configName)
                                throws SSOException
Obtains a new SSO session by loading configuration from a Spring configuration file. The file must be within the current class path.

Parameters:
configName - configuration file name.
Returns:
SSO session.
Throws:
SSOException - if an error occurred during the loading.


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.