PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.wstrust.handlers
Class STSSaml20Handler

java.lang.Object
  extended by org.picketlink.identity.federation.core.wstrust.handlers.STSSecurityHandler
      extended by org.picketlink.identity.federation.core.wstrust.handlers.STSSaml20Handler
All Implemented Interfaces:
Handler<SOAPMessageContext>, SOAPHandler<SOAPMessageContext>

public class STSSaml20Handler
extends STSSecurityHandler

A concrete implementation of STSSecurityHandler that can handle SAML version 2.0 Assertion inside of WSTrustConstants.WSSE_NS elements.

Author:
Daniel Bevenius

Field Summary
static QName SAML_TOKEN_QNAME
          Qualified name for SAML Version 2.0 (WSTrustConstants.SAML2_ASSERTION_NS:"Assertion")
static QName SECURITY_QNAME
          Qualified name for WSSE Security Header (WSTrustConstants.WSSE_NS:"Security")
 
Fields inherited from class org.picketlink.identity.federation.core.wstrust.handlers.STSSecurityHandler
logger, PASSWORD_MSG_CONTEXT_PROPERTY, USERNAME_MSG_CONTEXT_PROPERTY
 
Constructor Summary
STSSaml20Handler()
           
 
Method Summary
 QName getSecurityElementQName()
          Subclasses can return the QName of the Security header element in usage.
 QName getTokenElementQName()
          Subclasses can return the QName of the Security Element that should be used as the token for validation.
 
Methods inherited from class org.picketlink.identity.federation.core.wstrust.handlers.STSSecurityHandler
close, getHeaders, handleFault, handleMessage, parseSTSConfig, setConfigFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECURITY_QNAME

public static final QName SECURITY_QNAME
Qualified name for WSSE Security Header (WSTrustConstants.WSSE_NS:"Security")


SAML_TOKEN_QNAME

public static final QName SAML_TOKEN_QNAME
Qualified name for SAML Version 2.0 (WSTrustConstants.SAML2_ASSERTION_NS:"Assertion")

Constructor Detail

STSSaml20Handler

public STSSaml20Handler()
Method Detail

getSecurityElementQName

public QName getSecurityElementQName()
Description copied from class: STSSecurityHandler
Subclasses can return the QName of the Security header element in usage.

Specified by:
getSecurityElementQName in class STSSecurityHandler
Returns:
QName

getTokenElementQName

public QName getTokenElementQName()
Description copied from class: STSSecurityHandler
Subclasses can return the QName of the Security Element that should be used as the token for validation.

Specified by:
getTokenElementQName in class STSSecurityHandler
Returns:
QName

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.