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

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

public interface OutboundSecurityContext
extends SecurityContext

The document security context

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

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 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<OutboundSecurityToken> securityTokenProvider)
Register a new SecurityTokenProvider.

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

getSecurityTokenProvider

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

Returns:
All registered SecurityTokenProvider's


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