public interface TokenProvider
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.
Modifier and Type | Method and Description |
---|---|
SecurityToken |
getSecurityToken()
Returns the
SecurityToken for the WS-Security. |
void |
init(SecurityTokenSpec tokenSpec)
Initializes the
TokenProvider to generate the necessary
Security Token. |
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.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.