public class SurrogateAuthenticationMetaDataPopulator extends BaseAuthenticationMetaDataPopulator
Constructor and Description |
---|
SurrogateAuthenticationMetaDataPopulator() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrder
public SurrogateAuthenticationMetaDataPopulator()
public void populateAttributes(AuthenticationBuilder builder, AuthenticationTransaction transaction)
AuthenticationMetaDataPopulator
builder
- Builder object that temporarily holds authentication metadata.transaction
- The authentication transaction.public boolean supports(Credential credential)
AuthenticationMetaDataPopulator
AuthenticationMetaDataPopulator.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.