public interface AuthenticationMetaDataPopulator
extends org.springframework.core.Ordered
| Modifier and Type | Method and Description |
|---|---|
default int |
getOrder() |
void |
populateAttributes(AuthenticationBuilder builder,
AuthenticationTransaction transaction)
Adds authentication metadata attributes on successful authentication of the given credential.
|
boolean |
supports(Credential credential)
Determines whether the populator has the capability to perform tasks on the given credential.
|
void populateAttributes(AuthenticationBuilder builder, AuthenticationTransaction transaction)
builder - Builder object that temporarily holds authentication metadata.transaction - The authentication transaction.boolean supports(Credential credential)
populateAttributes(AuthenticationBuilder, AuthenticationTransaction) needs to be able
to operate on said credentials only if the return result here is true.credential - The credential to check.default int getOrder()
getOrder in interface org.springframework.core.Ordered