public final class MultifactorLoginViewPrincipalAttributeGreeter extends Object implements MultiFactorLoginViewPrincipalGreeter
| Constructor and Description |
|---|
MultifactorLoginViewPrincipalAttributeGreeter(String greetingAttrName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPersonToGreet(org.jasig.cas.authentication.principal.Principal p,
org.springframework.binding.message.MessageContext messageContext)
Return the identifier that is to used to greet the credentials
in the view.
|
public static final String CODE
public MultifactorLoginViewPrincipalAttributeGreeter(String greetingAttrName)
greetingAttrName - attribute namepublic String getPersonToGreet(org.jasig.cas.authentication.principal.Principal p, org.springframework.binding.message.MessageContext messageContext)
MultiFactorLoginViewPrincipalGreetergetPersonToGreet in interface MultiFactorLoginViewPrincipalGreeterp - the principal we are trying to welcome to the view.messageContext - context to resolve the message code associated with the greetingCopyright © 2013-2015 Unicon Inc.. All Rights Reserved.