Class RegisterClientAssertionUseCase
java.lang.Object
com.irurueta.authserver.authorization.application.clientauth.RegisterClientAssertionUseCase
Records the use of a client assertion and tells whether it is a replay.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientAssertionReplayRegistryPort that remembers the accepted assertions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRegisters the use of an assertion.
-
Field Details
-
registry
Port that remembers the accepted assertions.
-
-
Constructor Details
-
RegisterClientAssertionUseCase
public RegisterClientAssertionUseCase()
-
-
Method Details
-
execute
Registers the use of an assertion.- Parameters:
use- the client, identifier and expiry of the assertion.- Returns:
truewhen this is the first use of the assertion,falsewhen it was already used.
-