Package com.authlete.common.dto
Class AssertionProcessor
- java.lang.Object
-
- com.authlete.common.dto.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 Summary
Constructors Constructor Description AssertionProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClaimRule[]getClaimRules()Get the claim rules that will be applied to any assertions processed by this processor.StringgetJwks()Get the JSON Web Key set used to check the assertion's signatures, serialized as a JSON string.intgetNumber()Get the object number for this assertion processor.intgetServiceNumber()Get the number of the service that this assertion processor is attached to.AssertionTargetgetTarget()Get the part of the service that this assertion processor will be applied to.AssertionProcessorsetClaimRules(ClaimRule[] claimRules)Set the claim rules that will be applied to any assertions processed by this processor.AssertionProcessorsetJwks(String jwks)Set the JSON Web Key set used to check the assertion's signatures, serialized as a JSON string.AssertionProcessorsetNumber(int number)Get the object number for this assertion processor.AssertionProcessorsetServiceNumber(int serviceNumber)Set the number of the service that this assertion processor is attached to.AssertionProcessorsetTarget(AssertionTarget target)Set the part of the service that this assertion processor will be applied to.
-
-
-
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:
thisobject.- 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
nullif 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 benullif this processor is active.- Returns:
thisobject.- 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:
thisobject.- 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:
thisobject.- 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:
thisobject.- Since:
- 2.39
-
-