public class SecurityMechanism extends Object
SecurityMechanism
s used in the Web
Services Security.Modifier and Type | Field and Description |
---|---|
static SecurityMechanism |
LIB_CLIENT_TLS_SAML_BEARER_TOKEN
Defines the security mechanism for the Liberty bearer token profile
with SSL and client auth enabled.
|
static String |
LIB_CLIENT_TLS_SAML_BEARER_TOKEN_URI
URI for the liberty SAML Bearer token security profile with
SSL and client auth enabled. |
static SecurityMechanism |
LIB_CLIENT_TLS_SAML_TOKEN
Defines the security mechanism for the Liberty SAML token profile
with SSL and client auth enabled.
|
static String |
LIB_CLIENT_TLS_SAML_TOKEN_URI
URI for the liberty SAML token security profile with SSL
and client auth enabled. |
static SecurityMechanism |
LIB_CLIENT_TLS_X509_TOKEN
Defines the security mechanism for the Liberty x509 token profile
with SSL and client auth enabled.
|
static String |
LIB_CLIENT_TLS_X509_TOKEN_URI
URI for the liberty X509 token security profile with TLS
and client auth enabled. |
static SecurityMechanism |
LIB_NULL_SAML_BEARER_TOKEN
Defines the security mechanism for the Liberty bearer token profile.
|
static String |
LIB_NULL_SAML_BEARER_TOKEN_URI
URI for the liberty SAML Bearer token security profile. |
static SecurityMechanism |
LIB_NULL_SAML_TOKEN
Defines the security mechanism for the Liberty SAML token profile.
|
static String |
LIB_NULL_SAML_TOKEN_URI
URI for the liberty SAML token security profile. |
static SecurityMechanism |
LIB_NULL_X509_TOKEN
Defines the security mechanism for the Liberty x509 token profile.
|
static String |
LIB_NULL_X509_TOKEN_URI
URI for the liberty X509 token security profile. |
static SecurityMechanism |
LIB_TLS_SAML_BEARER_TOKEN
Defines the security mechanism for the Liberty bearer token profile
with SSL enabled.
|
static String |
LIB_TLS_SAML_BEARER_TOKEN_URI
URI for the liberty SAML Bearer token security profile with
SSL enabled. |
static SecurityMechanism |
LIB_TLS_SAML_TOKEN
Defines the security mechanism for the Liberty SAML token profile
with SSL enabled.
|
static String |
LIB_TLS_SAML_TOKEN_URI
URI for the liberty SAML token security profile with SSL. |
static SecurityMechanism |
LIB_TLS_X509_TOKEN
Defines the security mechanism for the Liberty x509 token profile
with SSL enabled.
|
static String |
LIB_TLS_X509_TOKEN_URI
URI for the liberty X509 token security profile with TLS. |
static SecurityMechanism |
LIBERTY_DS_SECURITY
Defines the security mechanism for the Liberty token profiles.
|
static String |
LIBERTY_DS_SECURITY_URI
URI for all the liberty security profiles. |
static SecurityMechanism |
STS_SECURITY
Defines the security mechanism for the security token service profiles.
|
static String |
STS_SECURITY_URI
This
URI is mainly for the webservices clients need to
find the security token from the security token service. |
static SecurityMechanism |
WSS_CLIENT_TLS_ANONYMOUS
Defines the security mechanism for the anonymous token
with SSL and client auth enabled.
|
static String |
WSS_CLIENT_TLS_ANONYMOUS_URI
URI for the anonymous security profile with
TLS or SSL and client auth enabled. |
static SecurityMechanism |
WSS_CLIENT_TLS_KERBEROS_TOKEN
Defines the security mechanism for the Kerberos token profile with
SSL and client auth enabled.
|
static String |
WSS_CLIENT_TLS_KERBEROS_TOKEN_URI
URI for the Kerberos token security profile with
TLS or SSL and client auth enabled. |
static SecurityMechanism |
WSS_CLIENT_TLS_SAML_HK
Defines the security mechanism for the saml token holder of key
with SSL and client auth enabled.
|
static String |
WSS_CLIENT_TLS_SAML_HK_URI
URI for the SAML Holder of Key security profile with
TLS or SSL and client auth enabled. |
static SecurityMechanism |
WSS_CLIENT_TLS_SAML_SV
Defines the security mechanism for the saml token sender vouches
with SSL and client auth enabled.
|
static String |
WSS_CLIENT_TLS_SAML_SV_URI
URI for the SAML Sender vouches security profile with
TLS or SSL and client auth enabled. |
static SecurityMechanism |
WSS_CLIENT_TLS_SAML2_HK
Defines the security mechanism for the saml2 token holder of key
with SSL and client auth enabled.
|
static String |
WSS_CLIENT_TLS_SAML2_HK_URI
URI for the SAML2 Holder of Key security profile with
TLS or SSL and client auth enabled. |
static SecurityMechanism |
WSS_CLIENT_TLS_SAML2_SV
Defines the security mechanism for the saml2 token sender vouches
with SSL and client auth enabled.
|
static String |
WSS_CLIENT_TLS_SAML2_SV_URI
URI for the SAML2 Sender Vouches security profile with
TLS or SSL and client auth enabled. |
static SecurityMechanism |
WSS_CLIENT_TLS_USERNAME_TOKEN
Defines the security mechanism for the Username token profile
with SSL and client auth enabled.
|
static SecurityMechanism |
WSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN
Defines the security mechanism for the Username token profile
with SSL and client auth enabled.
|
static String |
WSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN_URI
URI for the username token security profile with
TLS or SSL and client auth enabled. |
static String |
WSS_CLIENT_TLS_USERNAME_TOKEN_URI
URI for the username token security profile with
TLS or SSL and client auth enabled. |
static SecurityMechanism |
WSS_CLIENT_TLS_X509_TOKEN
Defines the security mechanism for the X509 token profile with
SSL and client auth enabled.
|
static String |
WSS_CLIENT_TLS_X509_TOKEN_URI
URI for the X509 token security profile with
TLS or SSL and client auth enabled. |
static SecurityMechanism |
WSS_NULL_ANONYMOUS
Defines the security mechanism for the anonymous token.
|
static String |
WSS_NULL_ANONYMOUS_URI
URI for the anonymous security profile. |
static SecurityMechanism |
WSS_NULL_KERBEROS_TOKEN
Defines the security mechanism for the Kerberos token profile.
|
static String |
WSS_NULL_KERBEROS_TOKEN_URI
URI for the Kerberos token security profile. |
static SecurityMechanism |
WSS_NULL_SAML_HK
Defines the security mechanism for the saml token holder of key.
|
static String |
WSS_NULL_SAML_HK_URI
URI for the SAML Holder of Key security profile. |
static SecurityMechanism |
WSS_NULL_SAML_SV
Defines the security mechanism for the saml token sender vouches.
|
static String |
WSS_NULL_SAML_SV_URI
URI for the SAML Sender vouches security profile. |
static SecurityMechanism |
WSS_NULL_SAML2_HK
Defines the security mechanism for the saml2 token holder of key.
|
static String |
WSS_NULL_SAML2_HK_URI
URI for the SAML2 Holder of Key security profile. |
static SecurityMechanism |
WSS_NULL_SAML2_SV
Defines the security mechanism for the saml2 token sender vouches.
|
static String |
WSS_NULL_SAML2_SV_URI
URI for the SAML2 Sender Vouches security profile. |
static SecurityMechanism |
WSS_NULL_USERNAME_TOKEN
Defines the security mechanism for the Username token profile.
|
static SecurityMechanism |
WSS_NULL_USERNAME_TOKEN_PLAIN
Defines the security mechanism for the Username token profile.
|
static String |
WSS_NULL_USERNAME_TOKEN_PLAIN_URI
URI for the Username token security profile. |
static String |
WSS_NULL_USERNAME_TOKEN_URI
URI for the Username token security profile. |
static SecurityMechanism |
WSS_NULL_X509_TOKEN
Defines the security mechanism for the X509 token profile.
|
static String |
WSS_NULL_X509_TOKEN_URI
URI for the X509 token security profile. |
static SecurityMechanism |
WSS_TLS_ANONYMOUS
Defines the security mechanism for the anonymous token
with SSL.
|
static String |
WSS_TLS_ANONYMOUS_URI
URI for the anonymous security profile with
TLS or SSL enabled. |
static SecurityMechanism |
WSS_TLS_KERBEROS_TOKEN
Defines the security mechanism for the Kerberos token profile with
SSL enabled.
|
static String |
WSS_TLS_KERBEROS_TOKEN_URI
URI for the Kerberos security profile with
TLS or SSL enabled. |
static SecurityMechanism |
WSS_TLS_SAML_HK
Defines the security mechanism for the saml token holder of key
with SSL enabled.
|
static String |
WSS_TLS_SAML_HK_URI
URI for the SAML Holder of Key security profile with
TLS or SSL enabled. |
static SecurityMechanism |
WSS_TLS_SAML_SV
Defines the security mechanism for the saml token sender vouches
with SSL enabled.
|
static String |
WSS_TLS_SAML_SV_URI
URI for the SAML Sender vouches security profile with
TLS or SSL enabled. |
static SecurityMechanism |
WSS_TLS_SAML2_HK
Defines the security mechanism for the saml2 token holder of key
with SSL enabled.
|
static String |
WSS_TLS_SAML2_HK_URI
URI for the SAML2 Holder of Key security profile with
TLS or SSL enabled. |
static SecurityMechanism |
WSS_TLS_SAML2_SV
Defines the security mechanism for the saml2 token sender vouches
with SSL enabled.
|
static String |
WSS_TLS_SAML2_SV_URI
URI for the SAML2 Sender Vouches security profile with
TLS or SSL enabled. |
static SecurityMechanism |
WSS_TLS_USERNAME_TOKEN
Defines the security mechanism for the Username token profile
with SSL enabled.
|
static SecurityMechanism |
WSS_TLS_USERNAME_TOKEN_PLAIN
Defines the security mechanism for the Username token profile
with SSL enabled.
|
static String |
WSS_TLS_USERNAME_TOKEN_PLAIN_URI
URI for the username token security profile with
TLS or SSL enabled. |
static String |
WSS_TLS_USERNAME_TOKEN_URI
URI for the username token security profile with
TLS or SSL enabled. |
static SecurityMechanism |
WSS_TLS_X509_TOKEN
Defines the security mechanism for the X509 token profile with
SSL enabled.
|
static String |
WSS_TLS_X509_TOKEN_URI
URI for the X509 security profile with
TLS or SSL enabled. |
Constructor and Description |
---|
SecurityMechanism(String name)
Constructs
SecurityMechanism . |
SecurityMechanism(String name,
boolean useTA)
Constructs
SecurityMechanism . |
Modifier and Type | Method and Description |
---|---|
static List |
getAllWSCSecurityMechanisms()
Returns all the list of
SecurityMechanism s supported
by the Web Services Client. |
static List |
getAllWSPSecurityMechanisms()
Returns all the list of
SecurityMechanism |
static List |
getLibertySecurityMechanismURIs()
Returns the list of liberty security mechanism URIs.
|
String |
getName()
Returns the security mechanism name.
|
static SecurityMechanism |
getSecurityMechanism(String uri)
Returns the security mechanism for the corresponding
security mechanism
URI . |
String |
getURI()
Returns the
URI of the security mechanism. |
boolean |
isTALookupRequired()
Checks if the Trust Authority lookup is required for this
security mechanism.
|
boolean |
isTARegistrationRequired()
Checks if the Trust Authrotiy registration is required
for this security mechanism.
|
public static final String WSS_NULL_SAML_HK_URI
URI
for the SAML Holder of Key security profile.public static final String WSS_TLS_SAML_HK_URI
URI
for the SAML Holder of Key security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_SAML_HK_URI
URI
for the SAML Holder of Key security profile with
TLS
or SSL
and client auth enabled.public static final String WSS_NULL_SAML_SV_URI
URI
for the SAML Sender vouches security profile.public static final String WSS_TLS_SAML_SV_URI
URI
for the SAML Sender vouches security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_SAML_SV_URI
URI
for the SAML Sender vouches security profile with
TLS
or SSL
and client auth enabled.public static final String WSS_NULL_X509_TOKEN_URI
URI
for the X509 token security profile.public static final String WSS_TLS_X509_TOKEN_URI
URI
for the X509 security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_X509_TOKEN_URI
URI
for the X509 token security profile with
TLS
or SSL
and client auth enabled.public static final String WSS_NULL_USERNAME_TOKEN_URI
URI
for the Username token security profile.public static final String WSS_TLS_USERNAME_TOKEN_URI
URI
for the username token security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_USERNAME_TOKEN_URI
URI
for the username token security profile with
TLS
or SSL
and client auth enabled.public static final String WSS_NULL_USERNAME_TOKEN_PLAIN_URI
URI
for the Username token security profile.public static final String WSS_TLS_USERNAME_TOKEN_PLAIN_URI
URI
for the username token security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN_URI
URI
for the username token security profile with
TLS
or SSL
and client auth enabled.public static final String LIBERTY_DS_SECURITY_URI
URI
for all the liberty security profiles.
This URI
is mainly for the webservices clients where
the real security mechanims are found from the liberty discovery service.public static final String STS_SECURITY_URI
URI
is mainly for the webservices clients need to
find the security token from the security token service.public static final String LIB_NULL_X509_TOKEN_URI
URI
for the liberty X509 token security profile.public static final String LIB_NULL_SAML_BEARER_TOKEN_URI
URI
for the liberty SAML Bearer token security profile.public static final String LIB_NULL_SAML_TOKEN_URI
URI
for the liberty SAML token security profile.public static final String LIB_TLS_X509_TOKEN_URI
URI
for the liberty X509 token security profile with TLS.public static final String LIB_TLS_SAML_BEARER_TOKEN_URI
URI
for the liberty SAML Bearer token security profile with
SSL enabled.public static final String LIB_TLS_SAML_TOKEN_URI
URI
for the liberty SAML token security profile with SSL.public static final String LIB_CLIENT_TLS_X509_TOKEN_URI
URI
for the liberty X509 token security profile with TLS
and client auth enabled.public static final String LIB_CLIENT_TLS_SAML_BEARER_TOKEN_URI
URI
for the liberty SAML Bearer token security profile with
SSL and client auth enabled.public static final String LIB_CLIENT_TLS_SAML_TOKEN_URI
URI
for the liberty SAML token security profile with SSL
and client auth enabled.public static final String WSS_NULL_SAML2_HK_URI
URI
for the SAML2 Holder of Key security profile.public static final String WSS_TLS_SAML2_HK_URI
URI
for the SAML2 Holder of Key security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_SAML2_HK_URI
URI
for the SAML2 Holder of Key security profile with
TLS
or SSL
and client auth enabled.public static final String WSS_NULL_SAML2_SV_URI
URI
for the SAML2 Sender Vouches security profile.public static final String WSS_TLS_SAML2_SV_URI
URI
for the SAML2 Sender Vouches security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_SAML2_SV_URI
URI
for the SAML2 Sender Vouches security profile with
TLS
or SSL
and client auth enabled.public static final String WSS_NULL_ANONYMOUS_URI
URI
for the anonymous security profile.public static final String WSS_TLS_ANONYMOUS_URI
URI
for the anonymous security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_ANONYMOUS_URI
URI
for the anonymous security profile with
TLS
or SSL
and client auth enabled.public static final String WSS_NULL_KERBEROS_TOKEN_URI
URI
for the Kerberos token security profile.public static final String WSS_TLS_KERBEROS_TOKEN_URI
URI
for the Kerberos security profile with
TLS
or SSL
enabled.public static final String WSS_CLIENT_TLS_KERBEROS_TOKEN_URI
URI
for the Kerberos token security profile with
TLS
or SSL
and client auth enabled.public static final SecurityMechanism WSS_CLIENT_TLS_SAML_HK
public static final SecurityMechanism WSS_TLS_SAML_HK
public static final SecurityMechanism WSS_NULL_SAML_HK
public static final SecurityMechanism WSS_CLIENT_TLS_SAML_SV
public static final SecurityMechanism WSS_TLS_SAML_SV
public static final SecurityMechanism WSS_NULL_SAML_SV
public static final SecurityMechanism WSS_NULL_X509_TOKEN
public static final SecurityMechanism WSS_TLS_X509_TOKEN
public static final SecurityMechanism WSS_CLIENT_TLS_X509_TOKEN
public static final SecurityMechanism WSS_NULL_USERNAME_TOKEN
public static final SecurityMechanism WSS_TLS_USERNAME_TOKEN
public static final SecurityMechanism WSS_CLIENT_TLS_USERNAME_TOKEN
public static final SecurityMechanism WSS_NULL_USERNAME_TOKEN_PLAIN
public static final SecurityMechanism WSS_TLS_USERNAME_TOKEN_PLAIN
public static final SecurityMechanism WSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN
public static final SecurityMechanism LIBERTY_DS_SECURITY
public static final SecurityMechanism STS_SECURITY
public static final SecurityMechanism LIB_NULL_X509_TOKEN
public static final SecurityMechanism LIB_NULL_SAML_BEARER_TOKEN
public static final SecurityMechanism LIB_NULL_SAML_TOKEN
public static final SecurityMechanism LIB_TLS_X509_TOKEN
public static final SecurityMechanism LIB_TLS_SAML_BEARER_TOKEN
public static final SecurityMechanism LIB_TLS_SAML_TOKEN
public static final SecurityMechanism LIB_CLIENT_TLS_X509_TOKEN
public static final SecurityMechanism LIB_CLIENT_TLS_SAML_BEARER_TOKEN
public static final SecurityMechanism LIB_CLIENT_TLS_SAML_TOKEN
public static final SecurityMechanism WSS_CLIENT_TLS_SAML2_HK
public static final SecurityMechanism WSS_TLS_SAML2_HK
public static final SecurityMechanism WSS_NULL_SAML2_HK
public static final SecurityMechanism WSS_CLIENT_TLS_SAML2_SV
public static final SecurityMechanism WSS_TLS_SAML2_SV
public static final SecurityMechanism WSS_NULL_SAML2_SV
public static final SecurityMechanism WSS_CLIENT_TLS_ANONYMOUS
public static final SecurityMechanism WSS_TLS_ANONYMOUS
public static final SecurityMechanism WSS_NULL_ANONYMOUS
public static final SecurityMechanism WSS_NULL_KERBEROS_TOKEN
public static final SecurityMechanism WSS_TLS_KERBEROS_TOKEN
public static final SecurityMechanism WSS_CLIENT_TLS_KERBEROS_TOKEN
public SecurityMechanism(String name)
SecurityMechanism
.name
- the security mechanism name.public SecurityMechanism(String name, boolean useTA)
SecurityMechanism
.name
- the name of the security mechanism.useTA
- the boolean variable to let enable for the
trust authority look up or registration.public String getName()
public String getURI()
URI
of the security mechanism.public boolean isTARegistrationRequired()
public boolean isTALookupRequired()
public static SecurityMechanism getSecurityMechanism(String uri)
URI
.public static List getLibertySecurityMechanismURIs()
public static List getAllWSCSecurityMechanisms()
SecurityMechanism
s supported
by the Web Services Client.SecurityMechanisms supported
by the Web Services Client.
public static List getAllWSPSecurityMechanisms()
SecurityMechanisms supported
by the Web Services Provider.
SecurityMechanism
s supported
by the Web Services Provider.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.