public final class MultiFactorAuthenticationRequestContext extends Object implements Serializable, org.springframework.core.Ordered
MultiFactorAuthenticationSupportingWebApplicationService.
Adds implementations of equals and hashcode to ensure the uniqueness of
one mfa method per service per request origination source.
Implements Ordered to assist implementations of
RequestedAuthenticationMethodRankingStrategy do
the ranking if they choose to use this abstraction.| Constructor and Description |
|---|
MultiFactorAuthenticationRequestContext(MultiFactorAuthenticationSupportingWebApplicationService mfaService,
int rank)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
MultiFactorAuthenticationSupportingWebApplicationService |
getMfaService() |
int |
getOrder() |
int |
hashCode() |
String |
toString() |
public MultiFactorAuthenticationRequestContext(@NotNull
MultiFactorAuthenticationSupportingWebApplicationService mfaService,
@Min(value=1L)
int rank)
mfaService - target mfa servicerank - the rank value of this requestpublic MultiFactorAuthenticationSupportingWebApplicationService getMfaService()
public int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2013-2015 Unicon Inc.. All Rights Reserved.