org.eclipse.higgins.sts.server.ref_impl
Class SecurityTokenServiceImpl

java.lang.Object
  extended by org.eclipse.higgins.sts.server.ref_impl.SecurityTokenServiceImpl
All Implemented Interfaces:
SecurityTokenService

public class SecurityTokenServiceImpl
extends java.lang.Object
implements SecurityTokenService

Implements the Higgins Security Token Service.

Author:
mikemci@us.ibm.com

Constructor Summary
protected SecurityTokenServiceImpl()
          Creates and initializes the Class.
 
Method Summary
 void Initialize(java.util.Map<java.lang.String,ExtensionMappingKey> mapAppliesTo2ExtensionMappingKey, java.util.Map<ExtensionMappingKey,java.lang.String> mapExtensionMappingKey2Configuration, java.util.Map<java.lang.String,java.lang.String> mapConfiguration2FactoryClassName, java.util.Map<java.lang.String,java.util.Properties> mapConfiguration2Properties)
          This method is called to configure (and reconfigure) the Extensions.
 STSResponse invoke(STSRequest request)
          Called by the framework wheneven an RST is received.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityTokenServiceImpl

protected SecurityTokenServiceImpl()
                            throws java.lang.Exception
Creates and initializes the Class.

Throws:
java.lang.Exception
Method Detail

Initialize

public void Initialize(java.util.Map<java.lang.String,ExtensionMappingKey> mapAppliesTo2ExtensionMappingKey,
                       java.util.Map<ExtensionMappingKey,java.lang.String> mapExtensionMappingKey2Configuration,
                       java.util.Map<java.lang.String,java.lang.String> mapConfiguration2FactoryClassName,
                       java.util.Map<java.lang.String,java.util.Properties> mapConfiguration2Properties)
This method is called to configure (and reconfigure) the Extensions.

Specified by:
Initialize in interface SecurityTokenService
Parameters:
htAppliesTo2ExtensionMappingKey - maps AppliesTo URI to an ExtensionMappingKey (containing Action URI, TokenType URI, RequestType URI, and Issuer URI)
htExtensionMappingKey2Configuration - maps an ExtensionMappingKey (containing Action URI, TokenType URI, RequestType URI, and Issuer URI) to an extension configuration name.
htConfiguration2FactoryClassName - maps an extension configuration name to an extension factory class name.
htConfiguration2Properties - maps an extension configuration name to a set of configuration properties.

invoke

public STSResponse invoke(STSRequest request)
Called by the framework wheneven an RST is received. Dispatches the request to the appropriate Extension.

Specified by:
invoke in interface SecurityTokenService
Parameters:
request - an STSRequest containing values from the RequestSecurityToken
Returns:
an STSResponse containing values to be placed into the RequestSecurityTokenResponse