ContextHandlerpublic class SecurityTokenContextHandler extends java.lang.Object implements ContextHandler
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CLAIMS_MAP |
Deprecated.
The claims node of the policy
|
static java.lang.String |
DERIVED_FROM_TOKEN |
Deprecated.
The token that a DerviedKey is derived from
|
static java.lang.String |
DK_BASE_TOKEN_REFERENCE_TYPE |
Deprecated.
|
static java.lang.String |
DK_LABEL |
Deprecated.
|
static java.lang.String |
DK_LENGTH |
Deprecated.
|
static java.lang.String |
DK_STR_REFERENCE_TYPE |
Deprecated.
|
static java.lang.String |
EK_ENCRYPT_METHOD |
Deprecated.
|
static java.lang.String |
EK_KEYWRAP_METHOD |
Deprecated.
|
static java.lang.String |
ENCRYPT_THEN_SIGN |
Deprecated.
encrypt before sign
|
static java.lang.String |
ENCRYPTED_ELEMENT_MAP |
Deprecated.
encrypted element map: need to remember the element before and after encryption
|
static java.lang.String |
ENDORSE_SIGNATURE_ENCRYPT_SIGNATURE |
Deprecated.
|
static java.lang.String |
ENDPOINT_URL |
Deprecated.
The endpoint service url that current ws client connecting to
|
static java.lang.String |
FRIST_TOKEN_NODE |
Deprecated.
The first token node of wsse:Security
|
static java.lang.String |
ISSUER_ENDPOINT_REF |
Deprecated.
|
static java.lang.String |
ISSUER_SERIAL |
Deprecated.
Issuer serial value of a X509 certificate
|
static java.lang.String |
KEY_NAME |
Deprecated.
|
static java.lang.String |
KEY_TYPE |
Deprecated.
|
static java.lang.String |
KEYID |
Deprecated.
Subject key identifier value of a X509 certificate
|
static java.lang.String |
LAST_TOKEN_NODE |
Deprecated.
The last token node appears in the wsse:Security header
|
static java.lang.String |
NEED_TO_MOVE_TIMESTAMP |
Deprecated.
need to move timestamp
|
static java.lang.String |
PKI_INITIATOR |
Deprecated.
The name of initiator for PKI cred mapper lookup
if this is not specified, use the current subject on the thread to do PKI cred mapper lookup
|
static java.lang.String |
SCT_TOKEN_LIFE_TIME |
Deprecated.
|
static java.lang.String |
SECURITY_INFO |
Deprecated.
The instance of WSSecurityContext
|
static java.lang.String |
SET_TO_FIRST_TOKEN |
Deprecated.
If set, make the node as the first token node of wsse:Security
|
static java.lang.String |
SIGNATURE_NODE |
Deprecated.
The signature node in wsse:Security
|
static java.lang.String |
STRICT_LAYOUT |
Deprecated.
|
static java.lang.String |
THUMBPRINT |
Deprecated.
Thumbprint of the x509 cert
|
static java.lang.String |
TIMESTAMP_FIRST |
Deprecated.
If present, indicating the timestamp must be the first element of wsse:Security header
|
static java.lang.String |
TOKEN |
Deprecated.
The binarySecurityToken to be amended
|
static java.lang.String |
TRUST_VERSION |
Deprecated.
|
static java.lang.String |
WSS_SUBJECT_PROPERTY |
Deprecated.
The value of the current authenticated subject
|
static java.lang.String |
WST_BOOT_STRAP_POLICY |
Deprecated.
|
static java.lang.String |
WST_OUTER_POLICY |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addContextElement(java.lang.String key,
java.lang.Object value) |
Deprecated.
|
java.lang.String[] |
getNames() |
Deprecated.
Gets a list of
ContextElement names that can be requested. |
java.lang.Object |
getValue(java.lang.String name) |
Deprecated.
Gets a value for the specified
ContextElement name. |
ContextElement[] |
getValues(java.lang.String[] names) |
Deprecated.
Gets an array of
ContextElement objects containing values for each of the
named elements that are known. |
int |
size() |
Deprecated.
Provides a count of the number of
ContextElements that the handler
is able to return. |
public static final java.lang.String CLAIMS_MAP
public static final java.lang.String TOKEN
public static final java.lang.String SECURITY_INFO
public static final java.lang.String ISSUER_SERIAL
public static final java.lang.String KEYID
public static final java.lang.String THUMBPRINT
public static final java.lang.String KEY_NAME
public static final java.lang.String ENDPOINT_URL
public static final java.lang.String PKI_INITIATOR
public static final java.lang.String WSS_SUBJECT_PROPERTY
public static final java.lang.String DERIVED_FROM_TOKEN
public static final java.lang.String SET_TO_FIRST_TOKEN
public static final java.lang.String FRIST_TOKEN_NODE
public static final java.lang.String LAST_TOKEN_NODE
public static final java.lang.String TIMESTAMP_FIRST
public static final java.lang.String ENCRYPT_THEN_SIGN
public static final java.lang.String NEED_TO_MOVE_TIMESTAMP
public static final java.lang.String SIGNATURE_NODE
public static final java.lang.String ENCRYPTED_ELEMENT_MAP
public static final java.lang.String STRICT_LAYOUT
public static final java.lang.String WST_BOOT_STRAP_POLICY
public static final java.lang.String WST_OUTER_POLICY
public static final java.lang.String ISSUER_ENDPOINT_REF
public static final java.lang.String TRUST_VERSION
public static final java.lang.String KEY_TYPE
public static final java.lang.String SCT_TOKEN_LIFE_TIME
public static final java.lang.String DK_LABEL
public static final java.lang.String DK_LENGTH
public static final java.lang.String EK_ENCRYPT_METHOD
public static final java.lang.String EK_KEYWRAP_METHOD
public static final java.lang.String DK_STR_REFERENCE_TYPE
public static final java.lang.String ENDORSE_SIGNATURE_ENCRYPT_SIGNATURE
public static final java.lang.String DK_BASE_TOKEN_REFERENCE_TYPE
public int size()
ContextHandlerContextElements that the handler
is able to return.size in interface ContextHandlerContextElements that can be
requested. A value of -1 indicates that the
handler is unable to return the exact count.public java.lang.String[] getNames()
ContextHandlerContextElement names that can be requested.getNames in interface ContextHandlerContextElements that
can be requested, represented as an array of Strings.public java.lang.Object getValue(java.lang.String name)
ContextHandlerContextElement name.getValue in interface ContextHandlername - the name of the ContextElement for which a value
should be returned, represented as a String.Object that contains the value of the requested name.
If the value of the name parameter is unknown,
a null value is returned.public ContextElement[] getValues(java.lang.String[] names)
ContextHandlerContextElement objects containing values for each of the
named elements that are known.getValues in interface ContextHandlernames - the names of the ContextElements
to be returned, represented as an array of Strings.ContextElement object for
each of the named elements found in the names
parameter. The value for the requested element is returned as
a java.lang.Object. As a result, the caller must
know the data type of the value.
If a name in the names parameter is unknown, the
name will not appear in the array of ContextElement
objects.
public void addContextElement(java.lang.String key,
java.lang.Object value)