Interface SecurityTokenManagerIF
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
SecurityTokenManagerImpl
public interface SecurityTokenManagerIF extends Remote
This is the JAX-RPC interface for making SecurityTokenManager remotable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckForLocal()Checks if the service is available locally.StringgetSAMLAuthenticationToken(String senderIdentity)Returns the SAML Authentication Token.StringgetSAMLAuthorizationToken(String senderIdentity, String invocatorSession, String resourceID, boolean encryptedID, boolean includeAuthN, boolean includeResourceAccessStatement, String recipientProviderID)Returns the SAML Authorization Token.StringgetX509CertificateToken()Returns the Certificate Token.voidinitialization(String sessionID)Initializes the SecurityTokenManager.voidsetCertificate(String cert, boolean alias)Sets the Certificate.
-
-
-
Method Detail
-
initialization
void initialization(String sessionID) throws SecurityTokenException, RemoteException
Initializes the SecurityTokenManager.- Parameters:
sessionID- the session id.- Throws:
SecurityTokenException- if there is an error.RemoteException- if there is an error.
-
checkForLocal
void checkForLocal() throws RemoteExceptionChecks if the service is available locally.- Throws:
RemoteException- if there is an error.
-
setCertificate
void setCertificate(String cert, boolean alias) throws SecurityTokenException, RemoteException
Sets the Certificate.- Parameters:
cert- the Certificate String.alias- if true then Certificate Alias will be set.- Throws:
SecurityTokenException- if there is an error.RemoteException- if there is an error.
-
getX509CertificateToken
String getX509CertificateToken() throws SecurityTokenException, RemoteException
Returns the Certificate Token.- Returns:
- the Certification Token String.
- Throws:
SecurityTokenException- if there is an error.RemoteException- if there is an error.
-
getSAMLAuthenticationToken
String getSAMLAuthenticationToken(String senderIdentity) throws SecurityTokenException, SAMLException, RemoteException
Returns the SAML Authentication Token.- Parameters:
senderIdentity- the sender's identity.- Returns:
- the SAML Authentication Token String.
- Throws:
SecurityTokenException- if there is an error.SAMLException- if there is an error.RemoteException- if there is an error.
-
getSAMLAuthorizationToken
String getSAMLAuthorizationToken(String senderIdentity, String invocatorSession, String resourceID, boolean encryptedID, boolean includeAuthN, boolean includeResourceAccessStatement, String recipientProviderID) throws SecurityTokenException, SAMLException, RemoteException
Returns the SAML Authorization Token.- Parameters:
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, aResourceAccessStatementwill be included in the Assertion (forAuthorizeRequesterdirective). If false, aSessionContextStatementwill be included in the Assertion (forAuthenticationSessionContextdirective). In the case when bothAuthorizeRequesterandAuthenticationSessionContextdirective need to be handled, use "true" as parameter here since theSessionContextwill always be included in theResourceAccessStatement.recipientProviderID- recipient's provider ID.- Returns:
- the SAML Authorization Token String.
- Throws:
SecurityTokenException- if there is an error.SAMLException- if there is an error.RemoteException- if there is an error.
-
-