com.sun.identity.wss.security
インタフェース SecurityToken


public interface SecurityToken

This interface represents WS-Security token that can be inserted into or extracted from SOAP messages headers for Web Services Security transactions.

Each Security Token must need to implement this interface along with SecurityTokenSpec for generating the Security Tokens.


フィールドの概要
static String LIBERTY_ASSERTION_TOKEN
          The URI to identify the Liberty SAML Security Token
static String WSS_FAM_SSO_TOKEN
          The URI is to identify the OpenSSO security token.
static String WSS_KERBEROS_TOKEN
          The URI to identify the WS-Security Kerberos Security Token
static String WSS_SAML_TOKEN
          The URI to identify the WS-Security SAML Security Token.
static String WSS_SAML2_TOKEN
          The URI to identify the WS-Security SAML2 Security Token.
static String WSS_USERNAME_TOKEN
          The URI to identify the WS-Security UserName Security Token
static String WSS_X509_TOKEN
          The URI to identify the WS-Security X509 Security Token
 
メソッドの概要
 String getTokenType()
          Returns the security token type.
 Element toDocumentElement()
          Converts the Security Token into DOM Object.
 

フィールドの詳細

WSS_SAML_TOKEN

static final String WSS_SAML_TOKEN
The URI to identify the WS-Security SAML Security Token.

関連項目:
定数フィールド値

WSS_SAML2_TOKEN

static final String WSS_SAML2_TOKEN
The URI to identify the WS-Security SAML2 Security Token.

関連項目:
定数フィールド値

WSS_X509_TOKEN

static final String WSS_X509_TOKEN
The URI to identify the WS-Security X509 Security Token

関連項目:
定数フィールド値

WSS_USERNAME_TOKEN

static final String WSS_USERNAME_TOKEN
The URI to identify the WS-Security UserName Security Token

関連項目:
定数フィールド値

LIBERTY_ASSERTION_TOKEN

static final String LIBERTY_ASSERTION_TOKEN
The URI to identify the Liberty SAML Security Token

関連項目:
定数フィールド値

WSS_KERBEROS_TOKEN

static final String WSS_KERBEROS_TOKEN
The URI to identify the WS-Security Kerberos Security Token

関連項目:
定数フィールド値

WSS_FAM_SSO_TOKEN

static final String WSS_FAM_SSO_TOKEN
The URI is to identify the OpenSSO security token. The OpenSSO security token contains SSOToken.

関連項目:
定数フィールド値
メソッドの詳細

getTokenType

String getTokenType()
Returns the security token type. The possible values are SecurityToken.WSS_SAML_TOKEN, SecurityToken.WSS_X509_TOKEN SecurityToken.WSS_USERNAME_TOKEN SecurityToken.WSS_SAML2_TOKEN


toDocumentElement

Element toDocumentElement()
                          throws SecurityException
Converts the Security Token into DOM Object.

戻り値:
the DOM Document Element.
例外:
SecurityException - if any failure is occured.