|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SecurityToken
This interface represents ws-security token that can be inserted into web services security header.
Each security token must need to implement this interface along with
SecurityTokenSpec for generating the security tokens.
| Field Summary | |
|---|---|
static String |
LIBERTY_ASSERTION_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 |
| Method Summary | |
|---|---|
String |
getTokenType()
Returns the security token type. |
Element |
toDocumentElement()
Convert the security token into DOM Object. |
| Field Detail |
|---|
static final String WSS_SAML_TOKEN
URI to identify the WS-Security SAML Security Token.
static final String WSS_SAML2_TOKEN
URI to identify the WS-Security SAML2 Security Token.
static final String WSS_X509_TOKEN
URI to identify the WS-Security X509 Security Token
static final String WSS_USERNAME_TOKEN
URI to identify the WS-Security UserName Security Token
static final String LIBERTY_ASSERTION_TOKEN
| Method Detail |
|---|
String getTokenType()
SecurityToken.WSS_SAML_TOKEN,
SecurityToken.WSS_X509_TOKEN
SecurityToken.WSS_USERNAME_TOKEN
SecurityToken.WSS_SAML2_TOKEN
Element toDocumentElement()
throws SecurityException
SecurityException - if any failure is occured.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||