AuthenticationStrategy.afterAllAttempts

Method invoked by the ModularAuthenticator signifying that all of its configured Realms have been consulted for account data, allowing post-processing after all realms have completed.

<p>Returns the final AuthenticationInfo object that will be returned from the Authenticator to the authenticate() caller. This is most likely the aggregate AuthenticationInfo object that has been populated by many realms, but the actual return value is always up to the implementation.

@param token the {@code AuthenticationToken} submitted for the subject attempting system log-in. @param aggregate the aggregate {@code AuthenticationInfo} instance populated by all realms during the log-in attempt. @return the final {@code AuthenticationInfo} object to return to the Authenticator.authenticate() caller. @throws AuthenticationException if the Strategy implementation wishes to fail the authentication attempt.

interface AuthenticationStrategy
afterAllAttempts

Meta