public class SecurityTokenContextHandler extends Object implements ContextHandler
Modifier and Type | Field and Description |
---|---|
static String |
CLAIMS_MAP
Deprecated.
The claims node of the policy
|
static String |
DERIVED_FROM_TOKEN
Deprecated.
The token that a DerviedKey is derived from
|
static String |
DK_BASE_TOKEN_REFERENCE_TYPE
Deprecated.
|
static String |
DK_LABEL
Deprecated.
|
static String |
DK_LENGTH
Deprecated.
|
static String |
DK_STR_REFERENCE_TYPE
Deprecated.
|
static String |
EK_ENCRYPT_METHOD
Deprecated.
|
static String |
EK_KEYWRAP_METHOD
Deprecated.
|
static String |
ENCRYPT_THEN_SIGN
Deprecated.
encrypt before sign
|
static String |
ENCRYPTED_ELEMENT_MAP
Deprecated.
encrypted element map: need to remember the element before and after encryption
|
static String |
ENDORSE_SIGNATURE_ENCRYPT_SIGNATURE
Deprecated.
|
static String |
ENDPOINT_URL
Deprecated.
The endpoint service url that current ws client connecting to
|
static String |
FRIST_TOKEN_NODE
Deprecated.
The first token node of wsse:Security
|
static String |
ISSUER_ENDPOINT_REF
Deprecated.
|
static String |
ISSUER_SERIAL
Deprecated.
Issuer serial value of a X509 certificate
|
static String |
KEY_NAME
Deprecated.
|
static String |
KEY_TYPE
Deprecated.
|
static String |
KEYID
Deprecated.
Subject key identifier value of a X509 certificate
|
static String |
LAST_TOKEN_NODE
Deprecated.
The last token node appears in the wsse:Security header
|
static String |
NEED_TO_MOVE_TIMESTAMP
Deprecated.
need to move timestamp
|
static 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 String |
SCT_TOKEN_LIFE_TIME
Deprecated.
|
static String |
SECURITY_INFO
Deprecated.
The instance of WSSecurityContext
|
static String |
SET_TO_FIRST_TOKEN
Deprecated.
If set, make the node as the first token node of wsse:Security
|
static String |
SIGNATURE_NODE
Deprecated.
The signature node in wsse:Security
|
static String |
STRICT_LAYOUT
Deprecated.
|
static String |
THUMBPRINT
Deprecated.
Thumbprint of the x509 cert
|
static String |
TIMESTAMP_FIRST
Deprecated.
If present, indicating the timestamp must be the first element of wsse:Security header
|
static String |
TOKEN
Deprecated.
The binarySecurityToken to be amended
|
static String |
TRUST_VERSION
Deprecated.
|
static String |
WSS_SUBJECT_PROPERTY
Deprecated.
The value of the current authenticated subject
|
static String |
WST_BOOT_STRAP_POLICY
Deprecated.
|
static String |
WST_OUTER_POLICY
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addContextElement(String key,
Object value)
Deprecated.
|
String[] |
getNames()
Deprecated.
Gets a list of
ContextElement names that can be requested. |
Object |
getValue(String name)
Deprecated.
Gets a value for the specified
ContextElement name. |
ContextElement[] |
getValues(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
ContextElement s that the handler
is able to return. |
public static final String CLAIMS_MAP
public static final String TOKEN
public static final String SECURITY_INFO
public static final String ISSUER_SERIAL
public static final String KEYID
public static final String THUMBPRINT
public static final String KEY_NAME
public static final String ENDPOINT_URL
public static final String PKI_INITIATOR
public static final String WSS_SUBJECT_PROPERTY
public static final String DERIVED_FROM_TOKEN
public static final String SET_TO_FIRST_TOKEN
public static final String FRIST_TOKEN_NODE
public static final String LAST_TOKEN_NODE
public static final String TIMESTAMP_FIRST
public static final String ENCRYPT_THEN_SIGN
public static final String NEED_TO_MOVE_TIMESTAMP
public static final String SIGNATURE_NODE
public static final String ENCRYPTED_ELEMENT_MAP
public static final String STRICT_LAYOUT
public static final String WST_BOOT_STRAP_POLICY
public static final String WST_OUTER_POLICY
public static final String ISSUER_ENDPOINT_REF
public static final String TRUST_VERSION
public static final String KEY_TYPE
public static final String SCT_TOKEN_LIFE_TIME
public static final String DK_LABEL
public static final String DK_LENGTH
public static final String EK_ENCRYPT_METHOD
public static final String EK_KEYWRAP_METHOD
public static final String DK_STR_REFERENCE_TYPE
public static final String ENDORSE_SIGNATURE_ENCRYPT_SIGNATURE
public static final String DK_BASE_TOKEN_REFERENCE_TYPE
public int size()
ContextHandler
ContextElement
s that the handler
is able to return.size
in interface ContextHandler
ContextElement
s that can be
requested. A value of -1
indicates that the
handler is unable to return the exact count.public String[] getNames()
ContextHandler
ContextElement
names that can be requested.getNames
in interface ContextHandler
ContextElement
s that
can be requested, represented as an array of Strings.public Object getValue(String name)
ContextHandler
ContextElement
name.getValue
in interface ContextHandler
name
- 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(String[] names)
ContextHandler
ContextElement
objects containing values for each of the
named elements that are known.getValues
in interface ContextHandler
names
- the names of the ContextElement
s
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.