public abstract class ActiveDirectoryRealmBase extends RealmBase
GSS names
or fully
established GSS contexts
.RealmBase.AllRolesMode
Lifecycle.SingleUse
Modifier and Type | Field and Description |
---|---|
protected Log |
logger |
protected StringManager |
sm |
allRolesMode, container, containerLog, realmPath, stripRealmForGss, support, validate, x509UsernameRetriever, x509UsernameRetrieverClassName
mserver
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 and Description |
---|
ActiveDirectoryRealmBase() |
Modifier and Type | Method and Description |
---|---|
protected String |
getPassword(String username) |
protected Principal |
getPrincipal(String username) |
String[] |
getRoles(Principal principal) |
protected boolean |
hasRoleInternal(Principal principal,
String role) |
addPropertyChangeListener, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, backgroundProcess, Digest, findSecurityConstraints, getAllRolesMode, getContainer, getCredentialHandler, getDigest, getDomainInternal, getName, getObjectNameKeyProperties, getPrincipal, getPrincipal, getPrincipal, getRealmPath, getRealmSuffix, getServer, getTransportGuaranteeRedirectStatus, getValidate, getX509UsernameRetrieverClassName, hasMessageDigest, hasResourcePermission, hasRole, hasUserDataPermission, initInternal, isAvailable, isStripRealmForGss, main, removePropertyChangeListener, setAllRolesMode, setContainer, setCredentialHandler, setRealmPath, setStripRealmForGss, setTransportGuaranteeRedirectStatus, setValidate, setX509UsernameRetrieverClassName, startInternal, stopInternal, toString
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, getThrowOnFailure, init, removeLifecycleListener, setState, setState, setThrowOnFailure, start, stop
protected final Log logger
protected final StringManager sm
protected String getPassword(String username)
getPassword
in class RealmBase
UnsupportedOperationException
- always throws because not implementedprotected Principal getPrincipal(String username)
getPrincipal
in class RealmBase
UnsupportedOperationException
- always throws because not implementedprotected boolean hasRoleInternal(Principal principal, String role)
hasRoleInternal
in class RealmBase
Copyright © 2013–2020 Michael Osipov. All rights reserved.