public abstract class AbstractCasRealm extends org.apache.catalina.realm.RealmBase implements CasRealm
Realm implementation for all CAS realms.allRolesMode, container, containerLog, realmPath, sm, stripRealmForGss, support, validate, x509UsernameRetriever, x509UsernameRetrieverClassNameAFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT| Constructor and Description |
|---|
AbstractCasRealm() |
| Modifier and Type | Method and Description |
|---|---|
Principal |
authenticate(Principal p) |
protected abstract CasRealm |
getDelegate() |
String |
getInfo() |
protected String |
getName() |
protected String |
getPassword(String userName) |
protected Principal |
getPrincipal(String userName) |
String[] |
getRoles(Principal p) |
boolean |
hasRole(Principal principal,
String role) |
boolean |
hasRole(org.apache.catalina.Wrapper wrapper,
Principal principal,
String role)
Tomcat 7.0.8 changed their APIs so
hasRole(java.security.Principal, String) is only valid for 7.0.7 and below. |
String |
toString() |
addPropertyChangeListener, authenticate, authenticate, authenticate, authenticate, authenticate, backgroundProcess, Digest, findSecurityConstraints, getAllRolesMode, getContainer, getCredentialHandler, getDigest, getDomainInternal, getObjectNameKeyProperties, getPrincipal, getPrincipal, getRealmPath, getRealmSuffix, getServer, getTransportGuaranteeRedirectStatus, getValidate, getX509UsernameRetrieverClassName, hasMessageDigest, hasResourcePermission, hasRoleInternal, hasUserDataPermission, initInternal, isAvailable, isStripRealmForGss, main, removePropertyChangeListener, setAllRolesMode, setContainer, setCredentialHandler, setRealmPath, setStripRealmForGss, setTransportGuaranteeRedirectStatus, setValidate, setX509UsernameRetrieverClassName, startInternal, stopInternaldestroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregisterpublic Principal authenticate(Principal p)
authenticate in interface CasRealmpublic boolean hasRole(org.apache.catalina.Wrapper wrapper,
Principal principal,
String role)
hasRole(java.security.Principal, String) is only valid for 7.0.7 and below.hasRole in interface org.apache.catalina.RealmhasRole in class org.apache.catalina.realm.RealmBasepublic String toString()
toString in class org.apache.catalina.realm.RealmBasepublic String getInfo()
protected String getName()
getName in class org.apache.catalina.realm.RealmBaseprotected String getPassword(String userName)
getPassword in class org.apache.catalina.realm.RealmBaseprotected Principal getPrincipal(String userName)
getPrincipal in class org.apache.catalina.realm.RealmBaseCopyright © 2006–2018 Jasig. All rights reserved.