Class OutboundSecurityContextImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.AbstractSecurityContextImpl
-
- org.apache.xml.security.stax.impl.OutboundSecurityContextImpl
-
- All Implemented Interfaces:
OutboundSecurityContext,SecurityContext,SecurityEventListener
public class OutboundSecurityContextImpl extends AbstractSecurityContextImpl implements OutboundSecurityContext
Concrete security context implementation
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,SecurityTokenProvider<OutboundSecurityToken>>securityTokenProviders
-
Constructor Summary
Constructors Constructor Description OutboundSecurityContextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SecurityTokenProvider<OutboundSecurityToken>>getRegisteredSecurityTokenProviders()Returns all currently registered SecurityTokenProvider'sSecurityTokenProvider<OutboundSecurityToken>getSecurityTokenProvider(java.lang.String id)Returns a registered SecurityTokenProvider with the given id or null if not foundvoidregisterSecurityTokenProvider(java.lang.String id, SecurityTokenProvider<OutboundSecurityToken> securityTokenProvider)Register a new SecurityTokenProvider.-
Methods inherited from class org.apache.xml.security.stax.impl.AbstractSecurityContextImpl
addSecurityEventListener, forwardSecurityEvent, get, getAsList, getAsMap, put, putAsList, putAsMap, putList, registerSecurityEvent, remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.xml.security.stax.ext.SecurityContext
addSecurityEventListener, get, getAsList, getAsMap, put, putAsList, putAsMap, putList, remove
-
Methods inherited from interface org.apache.xml.security.stax.securityEvent.SecurityEventListener
registerSecurityEvent
-
-
-
-
Field Detail
-
securityTokenProviders
private final java.util.Map<java.lang.String,SecurityTokenProvider<OutboundSecurityToken>> securityTokenProviders
-
-
Method Detail
-
registerSecurityTokenProvider
public void registerSecurityTokenProvider(java.lang.String id, SecurityTokenProvider<OutboundSecurityToken> securityTokenProvider)Description copied from interface:OutboundSecurityContextRegister a new SecurityTokenProvider.- Specified by:
registerSecurityTokenProviderin interfaceOutboundSecurityContext- Parameters:
id- A unique idsecurityTokenProvider- The actual SecurityTokenProvider to register.
-
getSecurityTokenProvider
public SecurityTokenProvider<OutboundSecurityToken> getSecurityTokenProvider(java.lang.String id)
Description copied from interface:OutboundSecurityContextReturns a registered SecurityTokenProvider with the given id or null if not found- Specified by:
getSecurityTokenProviderin interfaceOutboundSecurityContext- Parameters:
id- The SecurityTokenProvider's id- Returns:
- The SecurityTokenProvider
-
getRegisteredSecurityTokenProviders
public java.util.List<SecurityTokenProvider<OutboundSecurityToken>> getRegisteredSecurityTokenProviders()
Description copied from interface:OutboundSecurityContextReturns all currently registered SecurityTokenProvider's- Specified by:
getRegisteredSecurityTokenProvidersin interfaceOutboundSecurityContext- Returns:
- All registered SecurityTokenProvider's
-
-