Class PurgeClientAssertionsUseCase
java.lang.Object
com.irurueta.authserver.authorization.application.clientauth.PurgeClientAssertionsUseCase
Deletes the identifiers of the client assertions that already expired.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClockSource of the current time.private final ClientAssertionReplayRegistryPort that remembers the accepted assertions. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
registry
Port that remembers the accepted assertions. -
clock
Source of the current time.
-
-
Constructor Details
-
PurgeClientAssertionsUseCase
public PurgeClientAssertionsUseCase()
-
-
Method Details
-
execute
public int execute()Runs the purge.- Returns:
- the number of identifiers removed.
-