org.eclipse.higgins.sts.server.extension
Interface SecurityTokenServiceExtension

All Known Implementing Classes:
SelfSignedIssuer

public interface SecurityTokenServiceExtension

Implement this interface to handle RSTs and generate RSTRs

Author:
mikemci

Method Summary
 org.w3c.dom.Element[][] invoke(java.security.Principal principal, org.w3c.dom.Element[] elemRST, java.util.Hashtable htLocalNameToElement, java.lang.String strAction, java.lang.String strFrom, java.lang.String strTo, java.lang.String strPrincipalName, java.lang.String strRequestTokenType, java.lang.String strRequestType, java.lang.String strAppliesToEndpointReferenceAddress)
          Called for each received RST, generates a set of RSTRs.
 

Method Detail

invoke

org.w3c.dom.Element[][] invoke(java.security.Principal principal,
                               org.w3c.dom.Element[] elemRST,
                               java.util.Hashtable htLocalNameToElement,
                               java.lang.String strAction,
                               java.lang.String strFrom,
                               java.lang.String strTo,
                               java.lang.String strPrincipalName,
                               java.lang.String strRequestTokenType,
                               java.lang.String strRequestType,
                               java.lang.String strAppliesToEndpointReferenceAddress)
Called for each received RST, generates a set of RSTRs.

Parameters:
principal - authenticated WSS principal
elemRST - array of children of the RST
htLocalNameToElement - map of element names to Elements (from the RST)
strAction - URI from the WSA Action header
strFrom - URI from the WSA From header
strTo - URI from the WSA To header
strPrincipalName - name of authenticated WSS principal
strRequestTokenType - URI from WST TokenType
strRequestType - URI from WST RequestType
strAppliesToEndpointReferenceAddress - URI from WST AppliesTo EPR
Returns:
an array of children for each RSTR, each containing an array of elements for the children of the RSTR