public interface SecurityTokenManagerIF extends Remote
Modifier and Type | Method and Description |
---|---|
void |
checkForLocal()
Checks if the service is available locally.
|
String |
getSAMLAuthenticationToken(String senderIdentity)
Returns the SAML Authentication Token.
|
String |
getSAMLAuthorizationToken(String senderIdentity,
String invocatorSession,
String resourceID,
boolean encryptedID,
boolean includeAuthN,
boolean includeResourceAccessStatement,
String recipientProviderID)
Returns the SAML Authorization Token.
|
String |
getX509CertificateToken()
Returns the Certificate Token.
|
void |
initialization(String sessionID)
Initializes the SecurityTokenManager.
|
void |
setCertificate(String cert,
boolean alias)
Sets the Certificate.
|
void initialization(String sessionID) throws SecurityTokenException, RemoteException
sessionID
- the session id.SecurityTokenException
- if there is an error.RemoteException
- if there is an error.void checkForLocal() throws RemoteException
RemoteException
- if there is an error.void setCertificate(String cert, boolean alias) throws SecurityTokenException, RemoteException
cert
- the Certificate String.alias
- if true then Certificate Alias will be set.SecurityTokenException
- if there is an error.RemoteException
- if there is an error.String getX509CertificateToken() throws SecurityTokenException, RemoteException
SecurityTokenException
- if there is an error.RemoteException
- if there is an error.String getSAMLAuthenticationToken(String senderIdentity) throws SecurityTokenException, SAMLException, RemoteException
senderIdentity
- the sender's identity.SecurityTokenException
- if there is an error.SAMLException
- if there is an error.RemoteException
- if there is an error.String getSAMLAuthorizationToken(String senderIdentity, String invocatorSession, String resourceID, boolean encryptedID, boolean includeAuthN, boolean includeResourceAccessStatement, String recipientProviderID) throws SecurityTokenException, SAMLException, RemoteException
senderIdentity
- the identity of the sender.invocatorSession
- the session identifierresourceID
- the resource Identifier.encryptedID
- boolean value to determine if the identifier
is encrypted.includeAuthN
- boolean value to deteremine if the authentication
information should be included.includeResourceAccessStatement
- if true, a
ResourceAccessStatement
will be included in the
Assertion (for AuthorizeRequester
directive). If
false, a SessionContextStatement
will be included in
the Assertion (for AuthenticationSessionContext
directive). In the case when both AuthorizeRequester
and AuthenticationSessionContext
directive need to be
handled, use "true" as parameter here since the
SessionContext
will always be included in the
ResourceAccessStatement
.recipientProviderID
- recipient's provider ID.SecurityTokenException
- if there is an error.SAMLException
- if there is an error.RemoteException
- if there is an error.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.