Class AssertionProcessor


  • public class AssertionProcessor
    extends Object
    Information about an assertion processor, used by Authlete to allow a service to programmatically check assertions used passed in by clients and resource servers.
    Since:
    2.39
    • Constructor Detail

      • AssertionProcessor

        public AssertionProcessor()
    • Method Detail

      • getJwks

        public String getJwks()
        Get the JSON Web Key set used to check the assertion's signatures, serialized as a JSON string.
        Returns:
        The JSON Web Key Set
        Since:
        2.39
      • setJwks

        public AssertionProcessor setJwks​(String jwks)
        Set the JSON Web Key set used to check the assertion's signatures, serialized as a JSON string.
        Parameters:
        jwks - The JSON Web Key Set
        Returns:
        this object.
        Since:
        2.39
      • getTarget

        public AssertionTarget getTarget()
        Get the part of the service that this assertion processor will be applied to.
        Returns:
        The target assertion. Can not be null if this processor is active.
        Since:
        2.39
      • setTarget

        public AssertionProcessor setTarget​(AssertionTarget target)
        Set the part of the service that this assertion processor will be applied to.
        Parameters:
        target - The target assertion. Can not be null if this processor is active.
        Returns:
        this object.
        Since:
        2.39
      • getClaimRules

        public ClaimRule[] getClaimRules()
        Get the claim rules that will be applied to any assertions processed by this processor.
        Returns:
        The array of claim rules.
        Since:
        2.39
      • setClaimRules

        public AssertionProcessor setClaimRules​(ClaimRule[] claimRules)
        Set the claim rules that will be applied to any assertions processed by this processor.
        Parameters:
        claimRules - The array of claim rules.
        Returns:
        this object.
        Since:
        2.39
      • getServiceNumber

        public int getServiceNumber()
        Get the number of the service that this assertion processor is attached to.
        Returns:
        The service number.
        Since:
        2.39
      • setServiceNumber

        public AssertionProcessor setServiceNumber​(int serviceNumber)
        Set the number of the service that this assertion processor is attached to.
        Parameters:
        serviceNumber - The service number.
        Returns:
        this object.
        Since:
        2.39
      • getNumber

        public int getNumber()
        Get the object number for this assertion processor.
        Returns:
        The number for this assertion processor.
        Since:
        2.39
      • setNumber

        public AssertionProcessor setNumber​(int number)
        Get the object number for this assertion processor.
        Parameters:
        number - The number for this assertion processor.
        Returns:
        this object.
        Since:
        2.39