Class BaseAddAuthenticationStatementToAssertion

    • Constructor Detail

      • BaseAddAuthenticationStatementToAssertion

        public BaseAddAuthenticationStatementToAssertion()
        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
      • setIssuerLookupStrategy

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

        public void setAddressLookupStrategy​(@Nullable
                                             Function<ProfileRequestContext,​String> strategy)
        Set the strategy used to obtain the client IP address to insert into the statement.
        Parameters:
        strategy - lookup strategy
        Since:
        4.0.0
      • getIssuerId

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