PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2

org.picketlink.trust.jbossws.handler
Class BinaryTokenHandler

java.lang.Object
  extended by org.picketlink.trust.jbossws.handler.AbstractPicketLinkTrustHandler
      extended by org.picketlink.trust.jbossws.handler.BinaryTokenHandler
All Implemented Interfaces:
Handler, SOAPHandler

public class BinaryTokenHandler
extends AbstractPicketLinkTrustHandler

Handler that looks for a binary data that exists in the HTTP payload either as a header or a cookie based on configuration.

Configuration:

System Properties:

Setters:

Please see the see also section.

Since:
Apr 5, 2011
Author:
Anil.Saldhana@redhat.com
See Also:
setHttpHeaderName(String), setHttpCookieName(String), setEncodingType(String), setValueType(String), setValueTypeNamespace(String), setValueTypePrefix(String),


Field Summary
 
Fields inherited from class org.picketlink.trust.jbossws.handler.AbstractPicketLinkTrustHandler
AUTHZ_MGR_LOOKUP, headers, logger, SEC_MGR_LOOKUP
 
Constructor Summary
BinaryTokenHandler()
           
 
Method Summary
protected  boolean handleOutbound(MessageContext msgContext)
           
 void setCleanToken(boolean clean)
           Should we not clean the extracted binary token.
 void setEncodingType(String binaryEncodingType)
           Set the EncodingType value.
 void setHttpCookieName(String http)
           Set the Http Cookie Name
 void setHttpHeaderName(String http)
           Set the Http Header Name
 void setValueType(String binaryValueType)
           Set the Value type
 void setValueTypeNamespace(String binaryValueNamespace)
           Set the ValueType Namespace
 void setValueTypePrefix(String binaryValuePrefix)
           Set the Value Type Prefix
 
Methods inherited from class org.picketlink.trust.jbossws.handler.AbstractPicketLinkTrustHandler
close, getAssertionFromSubject, getHeaders, getSecurityDomainName, getSecurityHeaderElement, getServletContext, getUsername, handleFault, handleInbound, handleMessage, lookupJNDI, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryTokenHandler

public BinaryTokenHandler()
Method Detail

setEncodingType

public void setEncodingType(String binaryEncodingType)

Set the EncodingType value.

Alternatively, set the system property "binary.http.encodingType"

Parameters:
binaryEncodingType -

setValueType

public void setValueType(String binaryValueType)

Set the Value type

Alternatively, set the system property "binary.http.valueType"

Parameters:
binaryValueType -

setValueTypeNamespace

public void setValueTypeNamespace(String binaryValueNamespace)

Set the ValueType Namespace

Alternatively, set the system property "binary.http.valueType.namespace"

Parameters:
binaryValueNamespace -

setValueTypePrefix

public void setValueTypePrefix(String binaryValuePrefix)

Set the Value Type Prefix

Alternatively, set the system property "binary.http.valueType.prefix"

Parameters:
binaryValuePrefix -

setHttpHeaderName

public void setHttpHeaderName(String http)

Set the Http Header Name

Alternatively, set the system property: "binary.http.header"

Parameters:
http -

setHttpCookieName

public void setHttpCookieName(String http)

Set the Http Cookie Name

Alternatively, set the system property: ""binary.http.cookie"

Parameters:
http -

setCleanToken

public void setCleanToken(boolean clean)

Should we not clean the extracted binary token.

Alternatively, set the system property: "binary.http.cleanToken"

Parameters:
clean -

handleOutbound

protected boolean handleOutbound(MessageContext msgContext)
Overrides:
handleOutbound in class AbstractPicketLinkTrustHandler

PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2

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