Class EdAuthRealm
- java.lang.Object
-
- org.apache.catalina.util.LifecycleBase
-
- org.apache.catalina.util.LifecycleMBeanBase
-
- org.apache.catalina.realm.RealmBase
-
- edu.vt.middleware.ldap.ed.catalina.realm.AbstractEdAuthRealm
-
- edu.vt.middleware.ldap.ed.catalina.realm.EdAuthRealm
-
- All Implemented Interfaces:
MBeanRegistration
,org.apache.catalina.Contained
,org.apache.catalina.JmxEnabled
,org.apache.catalina.Lifecycle
,org.apache.catalina.Realm
public class EdAuthRealm extends AbstractEdAuthRealm
EdAuthRealm
to provide drop in authentication against EdAuth using Catalina security realms.- Author:
- Middleware Services
-
-
Field Summary
-
Fields inherited from class edu.vt.middleware.ldap.ed.catalina.realm.AbstractEdAuthRealm
auth, database, logger, resourceName
-
Fields inherited from class org.apache.catalina.realm.RealmBase
allRolesMode, container, containerLog, realmPath, sm, stripRealmForGss, support, validate, x509UsernameRetriever, x509UsernameRetrieverClassName
-
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_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 Summary
Constructors Constructor Description EdAuthRealm()
Creates a new instance of an EDAuthRealm object that can provide authentication against EdAuth for the production environment.EdAuthRealm(DirectoryEnv env)
Creates a new instance of an EDAuthRealm object that can provide authentication against EdAuth for the given environment.
-
Method Summary
-
Methods inherited from class edu.vt.middleware.ldap.ed.catalina.realm.AbstractEdAuthRealm
authenticate, authenticate, authenticate, getPassword, getPrincipal, getResourceName, setResourceName, startInternal, stopInternal
-
Methods inherited from class org.apache.catalina.realm.RealmBase
addPropertyChangeListener, authenticate, authenticate, authenticate, backgroundProcess, findSecurityConstraints, getAllRolesMode, getContainer, getCredentialHandler, getDigest, getDomainInternal, getObjectNameKeyProperties, getPrincipal, getPrincipal, getPrincipal, getRealmPath, getRealmSuffix, getRoles, getServer, getTransportGuaranteeRedirectStatus, getValidate, getX509UsernameRetrieverClassName, hasMessageDigest, hasResourcePermission, hasRole, hasRoleInternal, hasUserDataPermission, initInternal, isStripRealmForGss, main, removePropertyChangeListener, setAllRolesMode, setContainer, setCredentialHandler, setRealmPath, setStripRealmForGss, setTransportGuaranteeRedirectStatus, setValidate, setX509UsernameRetrieverClassName, toString
-
Methods inherited from class org.apache.catalina.util.LifecycleMBeanBase
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister, unregister
-
Methods inherited from class org.apache.catalina.util.LifecycleBase
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, getThrowOnFailure, init, removeLifecycleListener, setState, setState, setThrowOnFailure, start, stop
-
-
-
-
Constructor Detail
-
EdAuthRealm
public EdAuthRealm()
Creates a new instance of an EDAuthRealm object that can provide authentication against EdAuth for the production environment.
-
EdAuthRealm
public EdAuthRealm(DirectoryEnv env)
Creates a new instance of an EDAuthRealm object that can provide authentication against EdAuth for the given environment.- Parameters:
env
- Directory environment, e.g. LOCAL|DEV|PPRD|PROD.
-
-