org.apache.xml.security.stax.impl
Class OutboundSecurityContextImpl

java.lang.Object
  extended by org.apache.xml.security.stax.impl.AbstractSecurityContextImpl
      extended by org.apache.xml.security.stax.impl.OutboundSecurityContextImpl
All Implemented Interfaces:
OutboundSecurityContext, SecurityContext, SecurityEventListener

public class OutboundSecurityContextImpl
extends AbstractSecurityContextImpl
implements OutboundSecurityContext

Concrete security context implementation

Version:
$Revision: 1416649 $ $Date: 2012-12-03 21:04:06 +0100 (Mon, 03 Dec 2012) $
Author:
$Author: giger $

Constructor Summary
OutboundSecurityContextImpl()
           
 
Method Summary
 List<SecurityTokenProvider<OutboundSecurityToken>> getRegisteredSecurityTokenProviders()
          Returns all currently registered SecurityTokenProvider's
 SecurityTokenProvider<OutboundSecurityToken> getSecurityTokenProvider(String id)
          Returns a registered SecurityTokenProvider with the given id or null if not found
 void registerSecurityTokenProvider(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
 

Constructor Detail

OutboundSecurityContextImpl

public OutboundSecurityContextImpl()
Method Detail

registerSecurityTokenProvider

public void registerSecurityTokenProvider(String id,
                                          SecurityTokenProvider<OutboundSecurityToken> securityTokenProvider)
Description copied from interface: OutboundSecurityContext
Register a new SecurityTokenProvider.

Specified by:
registerSecurityTokenProvider in interface OutboundSecurityContext
Parameters:
id - A unique id
securityTokenProvider - The actual SecurityTokenProvider to register.

getSecurityTokenProvider

public SecurityTokenProvider<OutboundSecurityToken> getSecurityTokenProvider(String id)
Description copied from interface: OutboundSecurityContext
Returns a registered SecurityTokenProvider with the given id or null if not found

Specified by:
getSecurityTokenProvider in interface OutboundSecurityContext
Parameters:
id - The SecurityTokenProvider's id
Returns:
The SecurityTokenProvider

getRegisteredSecurityTokenProviders

public List<SecurityTokenProvider<OutboundSecurityToken>> getRegisteredSecurityTokenProviders()
Description copied from interface: OutboundSecurityContext
Returns all currently registered SecurityTokenProvider's

Specified by:
getRegisteredSecurityTokenProviders in interface OutboundSecurityContext
Returns:
All registered SecurityTokenProvider's


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.