Package com.sun.identity.wss.security
Class SecurityMechanism
- java.lang.Object
-
- com.sun.identity.wss.security.SecurityMechanism
-
public class SecurityMechanism extends Object
This class exposes theSecurityMechanisms used in the Web Services Security.
-
-
Field Summary
Fields Modifier and Type Field Description static SecurityMechanismLIB_CLIENT_TLS_SAML_BEARER_TOKENDefines the security mechanism for the Liberty bearer token profile with SSL and client auth enabled.static StringLIB_CLIENT_TLS_SAML_BEARER_TOKEN_URIURIfor the liberty SAML Bearer token security profile with SSL and client auth enabled.static SecurityMechanismLIB_CLIENT_TLS_SAML_TOKENDefines the security mechanism for the Liberty SAML token profile with SSL and client auth enabled.static StringLIB_CLIENT_TLS_SAML_TOKEN_URIURIfor the liberty SAML token security profile with SSL and client auth enabled.static SecurityMechanismLIB_CLIENT_TLS_X509_TOKENDefines the security mechanism for the Liberty x509 token profile with SSL and client auth enabled.static StringLIB_CLIENT_TLS_X509_TOKEN_URIURIfor the liberty X509 token security profile with TLS and client auth enabled.static SecurityMechanismLIB_NULL_SAML_BEARER_TOKENDefines the security mechanism for the Liberty bearer token profile.static StringLIB_NULL_SAML_BEARER_TOKEN_URIURIfor the liberty SAML Bearer token security profile.static SecurityMechanismLIB_NULL_SAML_TOKENDefines the security mechanism for the Liberty SAML token profile.static StringLIB_NULL_SAML_TOKEN_URIURIfor the liberty SAML token security profile.static SecurityMechanismLIB_NULL_X509_TOKENDefines the security mechanism for the Liberty x509 token profile.static StringLIB_NULL_X509_TOKEN_URIURIfor the liberty X509 token security profile.static SecurityMechanismLIB_TLS_SAML_BEARER_TOKENDefines the security mechanism for the Liberty bearer token profile with SSL enabled.static StringLIB_TLS_SAML_BEARER_TOKEN_URIURIfor the liberty SAML Bearer token security profile with SSL enabled.static SecurityMechanismLIB_TLS_SAML_TOKENDefines the security mechanism for the Liberty SAML token profile with SSL enabled.static StringLIB_TLS_SAML_TOKEN_URIURIfor the liberty SAML token security profile with SSL.static SecurityMechanismLIB_TLS_X509_TOKENDefines the security mechanism for the Liberty x509 token profile with SSL enabled.static StringLIB_TLS_X509_TOKEN_URIURIfor the liberty X509 token security profile with TLS.static SecurityMechanismLIBERTY_DS_SECURITYDefines the security mechanism for the Liberty token profiles.static StringLIBERTY_DS_SECURITY_URIURIfor all the liberty security profiles.static SecurityMechanismSTS_SECURITYDefines the security mechanism for the security token service profiles.static StringSTS_SECURITY_URIThisURIis mainly for the webservices clients need to find the security token from the security token service.static SecurityMechanismWSS_CLIENT_TLS_ANONYMOUSDefines the security mechanism for the anonymous token with SSL and client auth enabled.static StringWSS_CLIENT_TLS_ANONYMOUS_URIURIfor the anonymous security profile withTLSorSSLand client auth enabled.static SecurityMechanismWSS_CLIENT_TLS_KERBEROS_TOKENDefines the security mechanism for the Kerberos token profile with SSL and client auth enabled.static StringWSS_CLIENT_TLS_KERBEROS_TOKEN_URIURIfor the Kerberos token security profile withTLSorSSLand client auth enabled.static SecurityMechanismWSS_CLIENT_TLS_SAML_HKDefines the security mechanism for the saml token holder of key with SSL and client auth enabled.static StringWSS_CLIENT_TLS_SAML_HK_URIURIfor the SAML Holder of Key security profile withTLSorSSLand client auth enabled.static SecurityMechanismWSS_CLIENT_TLS_SAML_SVDefines the security mechanism for the saml token sender vouches with SSL and client auth enabled.static StringWSS_CLIENT_TLS_SAML_SV_URIURIfor the SAML Sender vouches security profile withTLSorSSLand client auth enabled.static SecurityMechanismWSS_CLIENT_TLS_SAML2_HKDefines the security mechanism for the saml2 token holder of key with SSL and client auth enabled.static StringWSS_CLIENT_TLS_SAML2_HK_URIURIfor the SAML2 Holder of Key security profile withTLSorSSLand client auth enabled.static SecurityMechanismWSS_CLIENT_TLS_SAML2_SVDefines the security mechanism for the saml2 token sender vouches with SSL and client auth enabled.static StringWSS_CLIENT_TLS_SAML2_SV_URIURIfor the SAML2 Sender Vouches security profile withTLSorSSLand client auth enabled.static SecurityMechanismWSS_CLIENT_TLS_USERNAME_TOKENDefines the security mechanism for the Username token profile with SSL and client auth enabled.static SecurityMechanismWSS_CLIENT_TLS_USERNAME_TOKEN_PLAINDefines the security mechanism for the Username token profile with SSL and client auth enabled.static StringWSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN_URIURIfor the username token security profile withTLSorSSLand client auth enabled.static StringWSS_CLIENT_TLS_USERNAME_TOKEN_URIURIfor the username token security profile withTLSorSSLand client auth enabled.static SecurityMechanismWSS_CLIENT_TLS_X509_TOKENDefines the security mechanism for the X509 token profile with SSL and client auth enabled.static StringWSS_CLIENT_TLS_X509_TOKEN_URIURIfor the X509 token security profile withTLSorSSLand client auth enabled.static SecurityMechanismWSS_NULL_ANONYMOUSDefines the security mechanism for the anonymous token.static StringWSS_NULL_ANONYMOUS_URIURIfor the anonymous security profile.static SecurityMechanismWSS_NULL_KERBEROS_TOKENDefines the security mechanism for the Kerberos token profile.static StringWSS_NULL_KERBEROS_TOKEN_URIURIfor the Kerberos token security profile.static SecurityMechanismWSS_NULL_SAML_HKDefines the security mechanism for the saml token holder of key.static StringWSS_NULL_SAML_HK_URIURIfor the SAML Holder of Key security profile.static SecurityMechanismWSS_NULL_SAML_SVDefines the security mechanism for the saml token sender vouches.static StringWSS_NULL_SAML_SV_URIURIfor the SAML Sender vouches security profile.static SecurityMechanismWSS_NULL_SAML2_HKDefines the security mechanism for the saml2 token holder of key.static StringWSS_NULL_SAML2_HK_URIURIfor the SAML2 Holder of Key security profile.static SecurityMechanismWSS_NULL_SAML2_SVDefines the security mechanism for the saml2 token sender vouches.static StringWSS_NULL_SAML2_SV_URIURIfor the SAML2 Sender Vouches security profile.static SecurityMechanismWSS_NULL_USERNAME_TOKENDefines the security mechanism for the Username token profile.static SecurityMechanismWSS_NULL_USERNAME_TOKEN_PLAINDefines the security mechanism for the Username token profile.static StringWSS_NULL_USERNAME_TOKEN_PLAIN_URIURIfor the Username token security profile.static StringWSS_NULL_USERNAME_TOKEN_URIURIfor the Username token security profile.static SecurityMechanismWSS_NULL_X509_TOKENDefines the security mechanism for the X509 token profile.static StringWSS_NULL_X509_TOKEN_URIURIfor the X509 token security profile.static SecurityMechanismWSS_TLS_ANONYMOUSDefines the security mechanism for the anonymous token with SSL.static StringWSS_TLS_ANONYMOUS_URIURIfor the anonymous security profile withTLSorSSLenabled.static SecurityMechanismWSS_TLS_KERBEROS_TOKENDefines the security mechanism for the Kerberos token profile with SSL enabled.static StringWSS_TLS_KERBEROS_TOKEN_URIURIfor the Kerberos security profile withTLSorSSLenabled.static SecurityMechanismWSS_TLS_SAML_HKDefines the security mechanism for the saml token holder of key with SSL enabled.static StringWSS_TLS_SAML_HK_URIURIfor the SAML Holder of Key security profile withTLSorSSLenabled.static SecurityMechanismWSS_TLS_SAML_SVDefines the security mechanism for the saml token sender vouches with SSL enabled.static StringWSS_TLS_SAML_SV_URIURIfor the SAML Sender vouches security profile withTLSorSSLenabled.static SecurityMechanismWSS_TLS_SAML2_HKDefines the security mechanism for the saml2 token holder of key with SSL enabled.static StringWSS_TLS_SAML2_HK_URIURIfor the SAML2 Holder of Key security profile withTLSorSSLenabled.static SecurityMechanismWSS_TLS_SAML2_SVDefines the security mechanism for the saml2 token sender vouches with SSL enabled.static StringWSS_TLS_SAML2_SV_URIURIfor the SAML2 Sender Vouches security profile withTLSorSSLenabled.static SecurityMechanismWSS_TLS_USERNAME_TOKENDefines the security mechanism for the Username token profile with SSL enabled.static SecurityMechanismWSS_TLS_USERNAME_TOKEN_PLAINDefines the security mechanism for the Username token profile with SSL enabled.static StringWSS_TLS_USERNAME_TOKEN_PLAIN_URIURIfor the username token security profile withTLSorSSLenabled.static StringWSS_TLS_USERNAME_TOKEN_URIURIfor the username token security profile withTLSorSSLenabled.static SecurityMechanismWSS_TLS_X509_TOKENDefines the security mechanism for the X509 token profile with SSL enabled.static StringWSS_TLS_X509_TOKEN_URIURIfor the X509 security profile withTLSorSSLenabled.
-
Constructor Summary
Constructors Constructor Description SecurityMechanism(String name)ConstructsSecurityMechanism.SecurityMechanism(String name, boolean useTA)ConstructsSecurityMechanism.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListgetAllWSCSecurityMechanisms()Returns all the list ofSecurityMechanisms supported by the Web Services Client.static ListgetAllWSPSecurityMechanisms()Returns all the list ofSecurityMechanisms supported by the Web Services Provider.static ListgetLibertySecurityMechanismURIs()Returns the list of liberty security mechanism URIs.StringgetName()Returns the security mechanism name.static SecurityMechanismgetSecurityMechanism(String uri)Returns the security mechanism for the corresponding security mechanismURI.StringgetURI()Returns theURIof the security mechanism.booleanisTALookupRequired()Checks if the Trust Authority lookup is required for this security mechanism.booleanisTARegistrationRequired()Checks if the Trust Authrotiy registration is required for this security mechanism.
-
-
-
Field Detail
-
WSS_NULL_SAML_HK_URI
public static final String WSS_NULL_SAML_HK_URI
URIfor the SAML Holder of Key security profile.- See Also:
- Constant Field Values
-
WSS_TLS_SAML_HK_URI
public static final String WSS_TLS_SAML_HK_URI
URIfor the SAML Holder of Key security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_SAML_HK_URI
public static final String WSS_CLIENT_TLS_SAML_HK_URI
URIfor the SAML Holder of Key security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
WSS_NULL_SAML_SV_URI
public static final String WSS_NULL_SAML_SV_URI
URIfor the SAML Sender vouches security profile.- See Also:
- Constant Field Values
-
WSS_TLS_SAML_SV_URI
public static final String WSS_TLS_SAML_SV_URI
URIfor the SAML Sender vouches security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_SAML_SV_URI
public static final String WSS_CLIENT_TLS_SAML_SV_URI
URIfor the SAML Sender vouches security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
WSS_NULL_X509_TOKEN_URI
public static final String WSS_NULL_X509_TOKEN_URI
URIfor the X509 token security profile.- See Also:
- Constant Field Values
-
WSS_TLS_X509_TOKEN_URI
public static final String WSS_TLS_X509_TOKEN_URI
URIfor the X509 security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_X509_TOKEN_URI
public static final String WSS_CLIENT_TLS_X509_TOKEN_URI
URIfor the X509 token security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
WSS_NULL_USERNAME_TOKEN_URI
public static final String WSS_NULL_USERNAME_TOKEN_URI
URIfor the Username token security profile.- See Also:
- Constant Field Values
-
WSS_TLS_USERNAME_TOKEN_URI
public static final String WSS_TLS_USERNAME_TOKEN_URI
URIfor the username token security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_USERNAME_TOKEN_URI
public static final String WSS_CLIENT_TLS_USERNAME_TOKEN_URI
URIfor the username token security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
WSS_NULL_USERNAME_TOKEN_PLAIN_URI
public static final String WSS_NULL_USERNAME_TOKEN_PLAIN_URI
URIfor the Username token security profile.- See Also:
- Constant Field Values
-
WSS_TLS_USERNAME_TOKEN_PLAIN_URI
public static final String WSS_TLS_USERNAME_TOKEN_PLAIN_URI
URIfor the username token security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN_URI
public static final String WSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN_URI
URIfor the username token security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
LIBERTY_DS_SECURITY_URI
public static final String LIBERTY_DS_SECURITY_URI
URIfor all the liberty security profiles. ThisURIis mainly for the webservices clients where the real security mechanims are found from the liberty discovery service.- See Also:
- Constant Field Values
-
STS_SECURITY_URI
public static final String STS_SECURITY_URI
ThisURIis mainly for the webservices clients need to find the security token from the security token service.- See Also:
- Constant Field Values
-
LIB_NULL_X509_TOKEN_URI
public static final String LIB_NULL_X509_TOKEN_URI
URIfor the liberty X509 token security profile.- See Also:
- Constant Field Values
-
LIB_NULL_SAML_BEARER_TOKEN_URI
public static final String LIB_NULL_SAML_BEARER_TOKEN_URI
URIfor the liberty SAML Bearer token security profile.- See Also:
- Constant Field Values
-
LIB_NULL_SAML_TOKEN_URI
public static final String LIB_NULL_SAML_TOKEN_URI
URIfor the liberty SAML token security profile.- See Also:
- Constant Field Values
-
LIB_TLS_X509_TOKEN_URI
public static final String LIB_TLS_X509_TOKEN_URI
URIfor the liberty X509 token security profile with TLS.- See Also:
- Constant Field Values
-
LIB_TLS_SAML_BEARER_TOKEN_URI
public static final String LIB_TLS_SAML_BEARER_TOKEN_URI
URIfor the liberty SAML Bearer token security profile with SSL enabled.- See Also:
- Constant Field Values
-
LIB_TLS_SAML_TOKEN_URI
public static final String LIB_TLS_SAML_TOKEN_URI
URIfor the liberty SAML token security profile with SSL.- See Also:
- Constant Field Values
-
LIB_CLIENT_TLS_X509_TOKEN_URI
public static final String LIB_CLIENT_TLS_X509_TOKEN_URI
URIfor the liberty X509 token security profile with TLS and client auth enabled.- See Also:
- Constant Field Values
-
LIB_CLIENT_TLS_SAML_BEARER_TOKEN_URI
public static final String LIB_CLIENT_TLS_SAML_BEARER_TOKEN_URI
URIfor the liberty SAML Bearer token security profile with SSL and client auth enabled.- See Also:
- Constant Field Values
-
LIB_CLIENT_TLS_SAML_TOKEN_URI
public static final String LIB_CLIENT_TLS_SAML_TOKEN_URI
URIfor the liberty SAML token security profile with SSL and client auth enabled.- See Also:
- Constant Field Values
-
WSS_NULL_SAML2_HK_URI
public static final String WSS_NULL_SAML2_HK_URI
URIfor the SAML2 Holder of Key security profile.- See Also:
- Constant Field Values
-
WSS_TLS_SAML2_HK_URI
public static final String WSS_TLS_SAML2_HK_URI
URIfor the SAML2 Holder of Key security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_SAML2_HK_URI
public static final String WSS_CLIENT_TLS_SAML2_HK_URI
URIfor the SAML2 Holder of Key security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
WSS_NULL_SAML2_SV_URI
public static final String WSS_NULL_SAML2_SV_URI
URIfor the SAML2 Sender Vouches security profile.- See Also:
- Constant Field Values
-
WSS_TLS_SAML2_SV_URI
public static final String WSS_TLS_SAML2_SV_URI
URIfor the SAML2 Sender Vouches security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_SAML2_SV_URI
public static final String WSS_CLIENT_TLS_SAML2_SV_URI
URIfor the SAML2 Sender Vouches security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
WSS_NULL_ANONYMOUS_URI
public static final String WSS_NULL_ANONYMOUS_URI
URIfor the anonymous security profile.- See Also:
- Constant Field Values
-
WSS_TLS_ANONYMOUS_URI
public static final String WSS_TLS_ANONYMOUS_URI
URIfor the anonymous security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_ANONYMOUS_URI
public static final String WSS_CLIENT_TLS_ANONYMOUS_URI
URIfor the anonymous security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
WSS_NULL_KERBEROS_TOKEN_URI
public static final String WSS_NULL_KERBEROS_TOKEN_URI
URIfor the Kerberos token security profile.- See Also:
- Constant Field Values
-
WSS_TLS_KERBEROS_TOKEN_URI
public static final String WSS_TLS_KERBEROS_TOKEN_URI
URIfor the Kerberos security profile withTLSorSSLenabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_KERBEROS_TOKEN_URI
public static final String WSS_CLIENT_TLS_KERBEROS_TOKEN_URI
URIfor the Kerberos token security profile withTLSorSSLand client auth enabled.- See Also:
- Constant Field Values
-
WSS_CLIENT_TLS_SAML_HK
public static final SecurityMechanism WSS_CLIENT_TLS_SAML_HK
Defines the security mechanism for the saml token holder of key with SSL and client auth enabled.
-
WSS_TLS_SAML_HK
public static final SecurityMechanism WSS_TLS_SAML_HK
Defines the security mechanism for the saml token holder of key with SSL enabled.
-
WSS_NULL_SAML_HK
public static final SecurityMechanism WSS_NULL_SAML_HK
Defines the security mechanism for the saml token holder of key.
-
WSS_CLIENT_TLS_SAML_SV
public static final SecurityMechanism WSS_CLIENT_TLS_SAML_SV
Defines the security mechanism for the saml token sender vouches with SSL and client auth enabled.
-
WSS_TLS_SAML_SV
public static final SecurityMechanism WSS_TLS_SAML_SV
Defines the security mechanism for the saml token sender vouches with SSL enabled.
-
WSS_NULL_SAML_SV
public static final SecurityMechanism WSS_NULL_SAML_SV
Defines the security mechanism for the saml token sender vouches.
-
WSS_NULL_X509_TOKEN
public static final SecurityMechanism WSS_NULL_X509_TOKEN
Defines the security mechanism for the X509 token profile.
-
WSS_TLS_X509_TOKEN
public static final SecurityMechanism WSS_TLS_X509_TOKEN
Defines the security mechanism for the X509 token profile with SSL enabled.
-
WSS_CLIENT_TLS_X509_TOKEN
public static final SecurityMechanism WSS_CLIENT_TLS_X509_TOKEN
Defines the security mechanism for the X509 token profile with SSL and client auth enabled.
-
WSS_NULL_USERNAME_TOKEN
public static final SecurityMechanism WSS_NULL_USERNAME_TOKEN
Defines the security mechanism for the Username token profile.
-
WSS_TLS_USERNAME_TOKEN
public static final SecurityMechanism WSS_TLS_USERNAME_TOKEN
Defines the security mechanism for the Username token profile with SSL enabled.
-
WSS_CLIENT_TLS_USERNAME_TOKEN
public static final SecurityMechanism WSS_CLIENT_TLS_USERNAME_TOKEN
Defines the security mechanism for the Username token profile with SSL and client auth enabled.
-
WSS_NULL_USERNAME_TOKEN_PLAIN
public static final SecurityMechanism WSS_NULL_USERNAME_TOKEN_PLAIN
Defines the security mechanism for the Username token profile.
-
WSS_TLS_USERNAME_TOKEN_PLAIN
public static final SecurityMechanism WSS_TLS_USERNAME_TOKEN_PLAIN
Defines the security mechanism for the Username token profile with SSL enabled.
-
WSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN
public static final SecurityMechanism WSS_CLIENT_TLS_USERNAME_TOKEN_PLAIN
Defines the security mechanism for the Username token profile with SSL and client auth enabled.
-
LIBERTY_DS_SECURITY
public static final SecurityMechanism LIBERTY_DS_SECURITY
Defines the security mechanism for the Liberty token profiles.
-
STS_SECURITY
public static final SecurityMechanism STS_SECURITY
Defines the security mechanism for the security token service profiles.
-
LIB_NULL_X509_TOKEN
public static final SecurityMechanism LIB_NULL_X509_TOKEN
Defines the security mechanism for the Liberty x509 token profile.
-
LIB_NULL_SAML_BEARER_TOKEN
public static final SecurityMechanism LIB_NULL_SAML_BEARER_TOKEN
Defines the security mechanism for the Liberty bearer token profile.
-
LIB_NULL_SAML_TOKEN
public static final SecurityMechanism LIB_NULL_SAML_TOKEN
Defines the security mechanism for the Liberty SAML token profile.
-
LIB_TLS_X509_TOKEN
public static final SecurityMechanism LIB_TLS_X509_TOKEN
Defines the security mechanism for the Liberty x509 token profile with SSL enabled.
-
LIB_TLS_SAML_BEARER_TOKEN
public static final SecurityMechanism LIB_TLS_SAML_BEARER_TOKEN
Defines the security mechanism for the Liberty bearer token profile with SSL enabled.
-
LIB_TLS_SAML_TOKEN
public static final SecurityMechanism LIB_TLS_SAML_TOKEN
Defines the security mechanism for the Liberty SAML token profile with SSL enabled.
-
LIB_CLIENT_TLS_X509_TOKEN
public static final SecurityMechanism LIB_CLIENT_TLS_X509_TOKEN
Defines the security mechanism for the Liberty x509 token profile with SSL and client auth enabled.
-
LIB_CLIENT_TLS_SAML_BEARER_TOKEN
public static final SecurityMechanism LIB_CLIENT_TLS_SAML_BEARER_TOKEN
Defines the security mechanism for the Liberty bearer token profile with SSL and client auth enabled.
-
LIB_CLIENT_TLS_SAML_TOKEN
public static final SecurityMechanism LIB_CLIENT_TLS_SAML_TOKEN
Defines the security mechanism for the Liberty SAML token profile with SSL and client auth enabled.
-
WSS_CLIENT_TLS_SAML2_HK
public static final SecurityMechanism WSS_CLIENT_TLS_SAML2_HK
Defines the security mechanism for the saml2 token holder of key with SSL and client auth enabled.
-
WSS_TLS_SAML2_HK
public static final SecurityMechanism WSS_TLS_SAML2_HK
Defines the security mechanism for the saml2 token holder of key with SSL enabled.
-
WSS_NULL_SAML2_HK
public static final SecurityMechanism WSS_NULL_SAML2_HK
Defines the security mechanism for the saml2 token holder of key.
-
WSS_CLIENT_TLS_SAML2_SV
public static final SecurityMechanism WSS_CLIENT_TLS_SAML2_SV
Defines the security mechanism for the saml2 token sender vouches with SSL and client auth enabled.
-
WSS_TLS_SAML2_SV
public static final SecurityMechanism WSS_TLS_SAML2_SV
Defines the security mechanism for the saml2 token sender vouches with SSL enabled.
-
WSS_NULL_SAML2_SV
public static final SecurityMechanism WSS_NULL_SAML2_SV
Defines the security mechanism for the saml2 token sender vouches.
-
WSS_CLIENT_TLS_ANONYMOUS
public static final SecurityMechanism WSS_CLIENT_TLS_ANONYMOUS
Defines the security mechanism for the anonymous token with SSL and client auth enabled.
-
WSS_TLS_ANONYMOUS
public static final SecurityMechanism WSS_TLS_ANONYMOUS
Defines the security mechanism for the anonymous token with SSL.
-
WSS_NULL_ANONYMOUS
public static final SecurityMechanism WSS_NULL_ANONYMOUS
Defines the security mechanism for the anonymous token.
-
WSS_NULL_KERBEROS_TOKEN
public static final SecurityMechanism WSS_NULL_KERBEROS_TOKEN
Defines the security mechanism for the Kerberos token profile.
-
WSS_TLS_KERBEROS_TOKEN
public static final SecurityMechanism WSS_TLS_KERBEROS_TOKEN
Defines the security mechanism for the Kerberos token profile with SSL enabled.
-
WSS_CLIENT_TLS_KERBEROS_TOKEN
public static final SecurityMechanism WSS_CLIENT_TLS_KERBEROS_TOKEN
Defines the security mechanism for the Kerberos token profile with SSL and client auth enabled.
-
-
Constructor Detail
-
SecurityMechanism
public SecurityMechanism(String name)
ConstructsSecurityMechanism.- Parameters:
name- the security mechanism name.
-
SecurityMechanism
public SecurityMechanism(String name, boolean useTA)
ConstructsSecurityMechanism.- Parameters:
name- the name of the security mechanism.useTA- the boolean variable to let enable for the trust authority look up or registration.
-
-
Method Detail
-
getName
public String getName()
Returns the security mechanism name.- Returns:
- the name of the security mechanism.
-
getURI
public String getURI()
Returns theURIof the security mechanism.- Returns:
- the name of the security mechanism.
-
isTARegistrationRequired
public boolean isTARegistrationRequired()
Checks if the Trust Authrotiy registration is required for this security mechanism.- Returns:
- true if the trust authority registration is required.
-
isTALookupRequired
public boolean isTALookupRequired()
Checks if the Trust Authority lookup is required for this security mechanism.- Returns:
- true if the trust authority lookup is required.
-
getSecurityMechanism
public static SecurityMechanism getSecurityMechanism(String uri)
Returns the security mechanism for the corresponding security mechanismURI.- Returns:
- the security mechanism object.
-
getLibertySecurityMechanismURIs
public static List getLibertySecurityMechanismURIs()
Returns the list of liberty security mechanism URIs.- Returns:
- the list of liberty security mechanism URIs.
-
getAllWSCSecurityMechanisms
public static List getAllWSCSecurityMechanisms()
Returns all the list ofSecurityMechanisms supported by the Web Services Client.- Returns:
- the list of
SecurityMechanisms supported by the Web Services Client.
-
getAllWSPSecurityMechanisms
public static List getAllWSPSecurityMechanisms()
Returns all the list ofSecurityMechanisms supported by the Web Services Provider.- Returns:
- the list of
SecurityMechanisms supported by the Web Services Provider.
-
-