Class SecurityTokenManagerImpl

    • Field Detail

      • isLocal

        protected static boolean isLocal
    • Constructor Detail

      • SecurityTokenManagerImpl

        public SecurityTokenManagerImpl()
    • Method Detail

      • getSAMLAuthorizationToken

        public String getSAMLAuthorizationToken​(String senderIdentity,
                                                String invocatorSession,
                                                String resourceID,
                                                boolean encryptedID,
                                                boolean includeAuthN,
                                                boolean includeResourceAccessStatement,
                                                String recipientProviderID)
                                         throws SecurityTokenException,
                                                SAMLException
        Returns the SAML Authorization Token.
        Specified by:
        getSAMLAuthorizationToken in interface SecurityTokenManagerIF
        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 i the Assertion (for AuthenticationSessionContext directive). In the case when both AuthorizeRequesterAuthenticationSessionContext 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 Authentication Token String.
        Throws:
        SecurityTokenException - if there is an error.
        SAMLException - if there is an error.