org.eclipse.higgins.sts.server
Interface SecurityTokenServiceExtension

All Known Implementing Classes:
SelfSignedIssuer

public interface SecurityTokenServiceExtension

Implement this interface to handle RSTs and generate RSTRs

Author:
mikemci

Method Summary
 boolean canCancel(org.w3c.dom.Element elemCancelTarget)
          Called by the framework when a cancel request is received to determine which extension should process the cancel request.
 boolean canValidate(org.w3c.dom.Element elemValidateTarget)
          Called by the framework when a validate request is received to determine which extension should process the validate request.
 void Initialize(java.util.Properties propertiesExtension)
          Called by the fraemwork before the first call to invoke, and anytime initialize is invoked.
 STSResponse invoke(STSRequest request)
          Called for each received RST, generates a set of RSTRs.
 

Method Detail

Initialize

void Initialize(java.util.Properties propertiesExtension)
Called by the fraemwork before the first call to invoke, and anytime initialize is invoked.

Parameters:
propertiesExtension - poperties configured for the extension.

invoke

STSResponse invoke(STSRequest request)
Called for each received RST, generates a set of RSTRs.

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

canCancel

boolean canCancel(org.w3c.dom.Element elemCancelTarget)
Called by the framework when a cancel request is received to determine which extension should process the cancel request.

Parameters:
elemCancelTarget - specifies the token to cancel.
Returns:
true if the extension can cancel the specified token, otherwise false.

canValidate

boolean canValidate(org.w3c.dom.Element elemValidateTarget)
Called by the framework when a validate request is received to determine which extension should process the validate request.

Parameters:
elemValidateTarget - specifies the token to validate.
Returns:
true if the extension can validate the specified token, otherwise false.