org.eclipse.higgins.sts.spi
Interface ITokenExtension

All Superinterfaces:
org.eclipse.higgins.configuration.api.IConfigurableComponent

public interface ITokenExtension
extends org.eclipse.higgins.configuration.api.IConfigurableComponent

Interface representing the plug-point for Extensions

Author:
mikemci at us dot ibm dot com

Method Summary
 boolean canHandle(Map mapGlobalSettings, String strComponentName, Map mapComponentSettings, Map mapInvocationSettings, org.eclipse.higgins.sts.api.IConstants constants, org.eclipse.higgins.sts.api.ISTSRequest request)
          Called by the framework when a request is received to determine which extension should process the request.
 void invoke(Map mapGlobalSettings, String strComponentName, Map mapComponentSettings, Map mapInvocationSettings, org.eclipse.higgins.sts.api.IConstants constants, org.eclipse.higgins.sts.api.ISTSRequest request, org.eclipse.higgins.sts.api.ISTSResponse response)
          Called for each received RST, generates a set of RSTRs.
 
Methods inherited from interface org.eclipse.higgins.configuration.api.IConfigurableComponent
configure
 

Method Detail

invoke

public void invoke(Map mapGlobalSettings,
                   String strComponentName,
                   Map mapComponentSettings,
                   Map mapInvocationSettings,
                   org.eclipse.higgins.sts.api.IConstants constants,
                   org.eclipse.higgins.sts.api.ISTSRequest request,
                   org.eclipse.higgins.sts.api.ISTSResponse response)
Called for each received RST, generates a set of RSTRs.

Parameters:
request - an ISTSRequest containing values from the RequestSecurityToken
response - an ISTSResponse containing values to be placed into the RequestSecurityTokenResponse
constants - an IConstants containing the URIs appropriate for the request and response

canHandle

public boolean canHandle(Map mapGlobalSettings,
                         String strComponentName,
                         Map mapComponentSettings,
                         Map mapInvocationSettings,
                         org.eclipse.higgins.sts.api.IConstants constants,
                         org.eclipse.higgins.sts.api.ISTSRequest request)
Called by the framework when a request is received to determine which extension should process the request.

Parameters:
request - an ISTSRequest containing values from the RequestSecurityToken
constants - an IConstants containing the URIs appropriate for the request
Returns:
true if the extension can handle the request, otherwise false.