Module org.apache.santuario.xmlsec
Package org.apache.xml.security.stax.ext
Interface OutboundSecurityContext
-
- All Superinterfaces:
SecurityContext,org.apache.xml.security.stax.securityEvent.SecurityEventListener
public interface OutboundSecurityContext extends SecurityContext
The document security context
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.apache.xml.security.stax.securityToken.SecurityTokenProvider<org.apache.xml.security.stax.securityToken.OutboundSecurityToken>>getRegisteredSecurityTokenProviders()Returns all currently registered SecurityTokenProvider'sorg.apache.xml.security.stax.securityToken.SecurityTokenProvider<org.apache.xml.security.stax.securityToken.OutboundSecurityToken>getSecurityTokenProvider(String id)Returns a registered SecurityTokenProvider with the given id or null if not foundvoidregisterSecurityTokenProvider(String id, org.apache.xml.security.stax.securityToken.SecurityTokenProvider<org.apache.xml.security.stax.securityToken.OutboundSecurityToken> securityTokenProvider)Register a new SecurityTokenProvider.-
Methods inherited from interface org.apache.xml.security.stax.ext.SecurityContext
addSecurityEventListener, get, getAsList, getAsMap, put, putAsList, putAsMap, putList, remove
-
-
-
-
Method Detail
-
registerSecurityTokenProvider
void registerSecurityTokenProvider(String id, org.apache.xml.security.stax.securityToken.SecurityTokenProvider<org.apache.xml.security.stax.securityToken.OutboundSecurityToken> securityTokenProvider)
Register a new SecurityTokenProvider.- Parameters:
id- A unique idsecurityTokenProvider- The actual SecurityTokenProvider to register.
-
getSecurityTokenProvider
org.apache.xml.security.stax.securityToken.SecurityTokenProvider<org.apache.xml.security.stax.securityToken.OutboundSecurityToken> getSecurityTokenProvider(String id)
Returns a registered SecurityTokenProvider with the given id or null if not found- Parameters:
id- The SecurityTokenProvider's id- Returns:
- The SecurityTokenProvider
-
getRegisteredSecurityTokenProviders
List<org.apache.xml.security.stax.securityToken.SecurityTokenProvider<org.apache.xml.security.stax.securityToken.OutboundSecurityToken>> getRegisteredSecurityTokenProviders()
Returns all currently registered SecurityTokenProvider's- Returns:
- All registered SecurityTokenProvider's
-
-