Class AddAuthnStatementToAssertionFromInboundAssertionToken

    • Constructor Detail

      • AddAuthnStatementToAssertionFromInboundAssertionToken

        public AddAuthnStatementToAssertionFromInboundAssertionToken()
        Constructor.
    • Method Detail

      • isStatementInOwnAssertion

        public boolean isStatementInOwnAssertion()
        Set whether the generated statement should be placed in its own assertion or added to one if it exists.
        Returns:
        whether the generated statement should be placed in its own assertion or added to one if it exists
      • setStatementInOwnAssertion

        public void setStatementInOwnAssertion​(boolean inOwnAssertion)
        Set whether the generated authentication statement should be placed in its own assertion or added to one if it exists.
        Parameters:
        inOwnAssertion - whether the generated authentication statement should be placed in its own assertion or added to one if it exists
      • setAssertionTokenStrategy

        public void setAssertionTokenStrategy​(@Nonnull
                                              Function<ProfileRequestContext,​Assertion> strategy)
        Set the strategy used to locate the inbound assertion token to process.
        Parameters:
        strategy - lookup strategy
      • setIssuerLookupStrategy

        public void setIssuerLookupStrategy​(@Nonnull
                                            Function<ProfileRequestContext,​String> strategy)
        Set the strategy used to locate the issuer value to use.
        Parameters:
        strategy - lookup strategy
      • getIssuerId

        @Nonnull
        public String getIssuerId()
        Get the issuer name to use if an assertion must be created.
        Returns:
        the issuer name
      • getNewAuthnStatement

        @Nullable
        protected AuthnStatement getNewAuthnStatement()
        Obtain the new AuthnStatement to add by cloning the inbound token's statement which was previously stored.
        Returns:
        the cloned AuthnStatement, or null if an error is encountered