org.eclipse.higgins.sts.server
Interface SecurityTokenService

All Known Implementing Classes:
SecurityTokenServiceImpl

public interface SecurityTokenService

Defines the interface between the framework generated skeleton and the Higgins STS implementation. Configure the framework to load an implementation of this class by setting the SECURITY_TOKEN_SERVICE_FACTORY_CLASS property in the /org/xmlsoap/schemas/ws/_2005/_02/trust/impl/SecurityTokenServiceSOAPBindingImpl.properties file to the name of a Factory class that returns an instance of an object that implements this interface.

Author:
mikemci@us.ibm.com

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)
          This method is called each time the framework receives a RequestSecurityToken message.
 

Method Detail

Initialize

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.

Parameters:
mapAppliesTo2ExtensionMappingKey - maps AppliesTo URI to an ExtensionMappingKey (containing Action URI, TokenType URI, RequestType URI, and Issuer URI)
mapExtensionMappingKey2Configuration - maps an ExtensionMappingKey (containing Action URI, TokenType URI, RequestType URI, and Issuer URI) to an extension configuration name.
mapConfiguration2FactoryClassName - maps an extension configuration name to an implementing extension factory class name.
mapConfiguration2Properties - maps an extension configuration name to a set of configuration properties.

invoke

STSResponse invoke(STSRequest request)
This method is called each time the framework receives a RequestSecurityToken message.

Parameters:
request - an STSRequest containing values from the RequestSecurityToken
Returns:
an STSResponse containing values to be placed into the RequestSecurityTokenResponse