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

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

public class InboundSecurityContextImpl
extends AbstractSecurityContextImpl
implements InboundSecurityContext

Concrete security context implementation

Version:
$Revision: 1463132 $ $Date: 2013-04-01 14:27:45 +0100 (Mon, 01 Apr 2013) $
Author:
$Author: giger $

Constructor Summary
InboundSecurityContextImpl()
           
 
Method Summary
protected  void forwardSecurityEvent(SecurityEvent securityEvent)
           
 List<SecurityTokenProvider<? extends InboundSecurityToken>> getRegisteredSecurityTokenProviders()
          Returns all currently registered SecurityTokenProvider's
 SecurityTokenProvider<? extends InboundSecurityToken> getSecurityTokenProvider(String id)
          Returns a registered SecurityTokenProvider with the given id or null if not found
 void registerSecurityTokenProvider(String id, SecurityTokenProvider<? extends InboundSecurityToken> securityTokenProvider)
          Register a new SecurityTokenProvider.
 
Methods inherited from class org.apache.xml.security.stax.impl.AbstractSecurityContextImpl
addSecurityEventListener, 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

InboundSecurityContextImpl

public InboundSecurityContextImpl()
Method Detail

forwardSecurityEvent

protected void forwardSecurityEvent(SecurityEvent securityEvent)
                             throws XMLSecurityException
Overrides:
forwardSecurityEvent in class AbstractSecurityContextImpl
Throws:
XMLSecurityException

registerSecurityTokenProvider

public void registerSecurityTokenProvider(String id,
                                          SecurityTokenProvider<? extends InboundSecurityToken> securityTokenProvider)
Description copied from interface: InboundSecurityContext
Register a new SecurityTokenProvider.

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

getSecurityTokenProvider

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

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

getRegisteredSecurityTokenProviders

public List<SecurityTokenProvider<? extends InboundSecurityToken>> getRegisteredSecurityTokenProviders()
Description copied from interface: InboundSecurityContext
Returns all currently registered SecurityTokenProvider's

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


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