|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TokenProvider
The interface TokenProvider
represents a Security Token
provider for generating the Security Tokens.
Each token provider implementation must implement this interface
to generate the SecurityToken
s that may be attached to the
Web services security (SOAP) headers.
Method Summary | |
---|---|
SecurityToken |
getSecurityToken()
Returns the SecurityToken for the WS-Security. |
void |
init(SecurityTokenSpec tokenSpec)
Initializes the TokenProvider to generate the necessary
Security Token. |
Method Detail |
---|
void init(SecurityTokenSpec tokenSpec)
TokenProvider
to generate the necessary
Security Token.
tokenSpec
- the token specification required to generate the
Security Token.SecurityToken getSecurityToken() throws SecurityException
SecurityToken
for the WS-Security.
SecurityException
- if unable to generate the Security Token.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |