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:
Please see the see also section.
setHttpHeaderName(String)
,
setHttpCookieName(String)
,
setEncodingType(String)
,
setValueType(String)
,
setValueTypeNamespace(String)
,
setValueTypePrefix(String)
,
AUTHZ_MGR_LOOKUP, headers, logger, SEC_MGR_LOOKUP
Constructor and Description |
---|
BinaryTokenHandler() |
Modifier and Type | Method and Description |
---|---|
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
|
close, getAssertionFromSubject, getHeaders, getSecurityDomainName, getSecurityHeaderElement, getServletContext, getUsername, handleFault, handleInbound, handleMessage, lookupJNDI, trace
public void setEncodingType(String binaryEncodingType)
Set the EncodingType value.
Alternatively, set the system property "binary.http.encodingType"
binaryEncodingType
- public void setValueType(String binaryValueType)
Set the Value type
Alternatively, set the system property "binary.http.valueType"
binaryValueType
- public void setValueTypeNamespace(String binaryValueNamespace)
Set the ValueType Namespace
Alternatively, set the system property "binary.http.valueType.namespace"
binaryValueNamespace
- public void setValueTypePrefix(String binaryValuePrefix)
Set the Value Type Prefix
Alternatively, set the system property "binary.http.valueType.prefix"
binaryValuePrefix
- public void setHttpHeaderName(String http)
Set the Http Header Name
Alternatively, set the system property: "binary.http.header"
http
- public void setHttpCookieName(String http)
Set the Http Cookie Name
Alternatively, set the system property: ""binary.http.cookie"
http
- public void setCleanToken(boolean clean)
Should we not clean the extracted binary token.
Alternatively, set the system property: "binary.http.cleanToken"
clean
- protected boolean handleOutbound(MessageContext msgContext)
handleOutbound
in class AbstractPicketLinkTrustHandler
Copyright © 2018 JBoss by Red Hat. All rights reserved.