public class FirstSuccessfulModularRealmAuthenticator
extends org.apache.shiro.authc.pam.ModularRealmAuthenticator
Authenticator
that will attempt to authenticate with each realm, stopping after it found a response.ModularRealmAuthenticator
Constructor and Description |
---|
FirstSuccessfulModularRealmAuthenticator() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.shiro.authc.AuthenticationInfo |
doMultiRealmAuthentication(Collection<org.apache.shiro.realm.Realm> realms,
org.apache.shiro.authc.AuthenticationToken token) |
void |
setAuthenticationStrategy(org.apache.shiro.authc.pam.AuthenticationStrategy authenticationStrategy) |
void |
setRealms(Collection<org.apache.shiro.realm.Realm> realms) |
assertRealmsConfigured, doAuthenticate, doSingleRealmAuthentication, getAuthenticationStrategy, getRealms, onLogout
public FirstSuccessfulModularRealmAuthenticator()
public void setRealms(Collection<org.apache.shiro.realm.Realm> realms)
setRealms
in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
public void setAuthenticationStrategy(org.apache.shiro.authc.pam.AuthenticationStrategy authenticationStrategy)
setAuthenticationStrategy
in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
protected org.apache.shiro.authc.AuthenticationInfo doMultiRealmAuthentication(Collection<org.apache.shiro.realm.Realm> realms, org.apache.shiro.authc.AuthenticationToken token)
doMultiRealmAuthentication
in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
Copyright © 2018–2019 Sonatype, Inc.. All rights reserved.