Class SAMLTokenProvider

    • Constructor Detail

      • SAMLTokenProvider

        public SAMLTokenProvider()
    • Method Detail

      • canHandleToken

        public boolean canHandleToken​(String tokenType)
        Return true if this TokenProvider implementation is capable of providing a token that corresponds to the given TokenType.
        Specified by:
        canHandleToken in interface TokenProvider
      • canHandleToken

        public boolean canHandleToken​(String tokenType,
                                      String realm)
        Return true if this TokenProvider implementation is capable of providing a token that corresponds to the given TokenType in a given realm.
        Specified by:
        canHandleToken in interface TokenProvider
      • setAttributeStatementProviders

        public void setAttributeStatementProviders​(List<AttributeStatementProvider> attributeStatementProviders)
        Set the List of AttributeStatementProviders.
      • getAttributeStatementProviders

        public List<AttributeStatementProvider> getAttributeStatementProviders()
        Get the List of AttributeStatementProviders.
      • setAuthenticationStatementProviders

        public void setAuthenticationStatementProviders​(List<AuthenticationStatementProvider> authnStatementProviders)
        Set the List of AuthenticationStatementProviders.
      • setAuthDecisionStatementProviders

        public void setAuthDecisionStatementProviders​(List<AuthDecisionStatementProvider> authDecisionStatementProviders)
        Set the List of AuthDecisionStatementProviders.
      • setSubjectProvider

        public void setSubjectProvider​(SubjectProvider subjectProvider)
        Set the SubjectProvider.
      • getSubjectProvider

        public SubjectProvider getSubjectProvider()
        Get the SubjectProvider.
      • setConditionsProvider

        public void setConditionsProvider​(ConditionsProvider conditionsProvider)
        Set the ConditionsProvider
      • getConditionsProvider

        public ConditionsProvider getConditionsProvider()
        Get the ConditionsProvider
      • isSignToken

        public boolean isSignToken()
        Return whether the provided token will be signed or not. Default is true.
      • setSignToken

        public void setSignToken​(boolean signToken)
        Set whether the provided token will be signed or not. Default is true.
      • setRealmMap

        public void setRealmMap​(Map<String,​? extends RealmProperties> realms)
        Set the map of realm->RealmProperties for this token provider
        Parameters:
        realms - the map of realm->RealmProperties for this token provider
      • getRealmMap

        public Map<String,​RealmProperties> getRealmMap()
        Get the map of realm->RealmProperties for this token provider
        Returns:
        the map of realm->RealmProperties for this token provider
      • setSamlCustomHandler

        public void setSamlCustomHandler​(SamlCustomHandler samlCustomHandler)
      • isCombineClaimAttributes

        public boolean isCombineClaimAttributes()
      • setCombineClaimAttributes

        public void setCombineClaimAttributes​(boolean combineClaimAttributes)