org.apache.xml.security.stax.ext
Interface InboundSecurityContext

All Superinterfaces:
SecurityContext, SecurityEventListener
All Known Implementing Classes:
InboundSecurityContextImpl

public interface InboundSecurityContext
extends SecurityContext

The document security context

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

Method Summary
 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 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
 

Method Detail

registerSecurityTokenProvider

void registerSecurityTokenProvider(String id,
                                   SecurityTokenProvider<? extends InboundSecurityToken> securityTokenProvider)
Register a new SecurityTokenProvider.

Parameters:
id - A unique id
securityTokenProvider - The actual SecurityTokenProvider to register.

getSecurityTokenProvider

SecurityTokenProvider<? extends InboundSecurityToken> 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<SecurityTokenProvider<? extends InboundSecurityToken>> getRegisteredSecurityTokenProviders()
Returns all currently registered SecurityTokenProvider's

Returns:
All registered SecurityTokenProvider's


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