public class RegexAuthenticationMethodTranslator extends Object implements AuthenticationMethodTranslator
| Constructor and Description |
|---|
RegexAuthenticationMethodTranslator(Map<String,String> translationMap)
Instantiates a new Regex authentication method translator.
|
RegexAuthenticationMethodTranslator(Map<String,String> translationMap,
String defaultMfaMethod)
Instantiates a new Regex authentication method translator.
|
public RegexAuthenticationMethodTranslator(Map<String,String> translationMap)
translationMap - the regex/mfa method translation map (maybe an ordered map)public RegexAuthenticationMethodTranslator(Map<String,String> translationMap, String defaultMfaMethod)
translationMap - the regex/mfa method translation map (maybe an ordered map)defaultMfaMethod - the default MFA merhod to use if no match is found.public String translate(org.jasig.cas.authentication.principal.WebApplicationService targetService, String triggerValue)
AuthenticationMethodTranslatortranslate in interface AuthenticationMethodTranslatortargetService - the target servicetriggerValue - the received authentication methodCopyright © 2013-2015 Unicon Inc.. All Rights Reserved.