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 Detail

      • checkForLocal

        void checkForLocal()
                    throws RemoteException
        Checks if the service is available locally.
        Throws:
        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 identifier
        resourceID - 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.
        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.