Package com.sun.xml.ws.security.secconv
Interface STRValidationHelper
-
public interface STRValidationHelper
This interface is used by the RM server side to validate the SecurityTokenReference.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
extractSecurityTokenId(SecurityTokenReferenceType str)
Get the security token reference URI from the specified wsse:SecurityTokenReference element.String
getSecurityContextTokenId(Packet packet)
Get the active security token used by the specified packet for signing and encrypting the message.
-
-
-
Method Detail
-
getSecurityContextTokenId
String getSecurityContextTokenId(Packet packet)
Get the active security token used by the specified packet for signing and encrypting the message.- Parameters:
packet
-- Returns:
- The reference URI to the security token context
-
extractSecurityTokenId
String extractSecurityTokenId(SecurityTokenReferenceType str) throws Exception
Get the security token reference URI from the specified wsse:SecurityTokenReference element.- Parameters:
str
-- Returns:
- The reference URI to the SecurityTokenReference
- Throws:
Exception
-
-