public final class MultiFactorUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<Object> |
convertValueToCollection(Object obj)
Convert the object given into a
Collection instead. |
static org.jasig.cas.authentication.Authentication |
getAuthenticationFromAssertion(org.jasig.cas.validation.Assertion assertion)
Gets authentication from assertionfinal.
|
static String |
getFulfilledAuthenticationMethodsAsString(org.jasig.cas.validation.Assertion assertion)
Generate the string the indicates the list of satisfied authentication methods.
|
static String |
getFulfilledAuthenticationMethodsAsString(org.jasig.cas.authentication.Authentication authentication)
Generate the string the indicates the list of satisfied authentication methods.
|
static Set<String> |
getSatisfiedAuthenticationMethods(org.jasig.cas.authentication.Authentication authentication)
Retrieves the collection of authentication methods available in the list
of authentication attributes.
|
public static String getFulfilledAuthenticationMethodsAsString(org.jasig.cas.validation.Assertion assertion)
assertion - the assertion carrying the methods.public static String getFulfilledAuthenticationMethodsAsString(org.jasig.cas.authentication.Authentication authentication)
authentication - the authentication carrying the methods.public static Set<Object> convertValueToCollection(Object obj)
Collection instead.obj - the object to convert into a collectionpublic static Set<String> getSatisfiedAuthenticationMethods(org.jasig.cas.authentication.Authentication authentication)
MultiFactorAuthenticationSupportingWebApplicationService.CONST_PARAM_AUTHN_METHOD.authentication - the authentication that houses the methods.public static org.jasig.cas.authentication.Authentication getAuthenticationFromAssertion(org.jasig.cas.validation.Assertion assertion)
assertion - the assertionCopyright © 2013-2015 Unicon Inc.. All Rights Reserved.