|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.apache.catalina.realm.RealmBase
org.exist.http.realm.XmldbRealm
public class XmldbRealm
| Field Summary |
|---|
| Fields inherited from interface org.apache.catalina.Lifecycle |
|---|
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, START_EVENT, STOP_EVENT |
| Constructor Summary | |
|---|---|
XmldbRealm()
|
|
| Method Summary | |
|---|---|
Principal |
authenticate(String username,
String credentials)
Return the Principal associated with the specified username and credentials, if there is one; otherwise return null. |
String |
getBasedir()
|
String |
getConfiguration()
|
String |
getDriver()
|
String |
getInfo()
Return descriptive information about this Realm implementation and the corresponding version number, in the format <description>/<version>. |
String |
getUri()
|
void |
setBasedir(String basedir)
|
void |
setConfiguration(String configuration)
|
void |
setDriver(String driver)
|
void |
setUri(String uri)
|
void |
start()
Prepare for active use of the public methods of this Component. |
void |
startExistDb()
|
void |
stop()
|
| Methods inherited from class org.apache.catalina.realm.RealmBase |
|---|
addLifecycleListener, addPropertyChangeListener, authenticate, authenticate, authenticate, destroy, Digest, findLifecycleListeners, findSecurityConstraints, getContainer, getController, getDebug, getDigest, getDomain, getObjectName, getType, getValidate, hasResourcePermission, hasRole, hasUserDataPermission, init, main, postDeregister, postRegister, preDeregister, preRegister, removeLifecycleListener, removePropertyChangeListener, setContainer, setController, setDebug, setDigest, setValidate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmldbRealm()
| Method Detail |
|---|
public String getInfo()
<description>/<version>.
getInfo in interface org.apache.catalina.RealmgetInfo in class org.apache.catalina.realm.RealmBase
public Principal authenticate(String username,
String credentials)
null.
authenticate in interface org.apache.catalina.Realmauthenticate in class org.apache.catalina.realm.RealmBaseusername - Username of the Principal to look upcredentials - Password or other credentials to use in authenticating this
username
public void start()
throws org.apache.catalina.LifecycleException
start in interface org.apache.catalina.Lifecyclestart in class org.apache.catalina.realm.RealmBaseorg.apache.catalina.LifecycleException - if this component detects a fatal error that prevents it
from being started
public void stop()
throws org.apache.catalina.LifecycleException
stop in interface org.apache.catalina.Lifecyclestop in class org.apache.catalina.realm.RealmBaseorg.apache.catalina.LifecycleException
public void startExistDb()
throws org.apache.catalina.LifecycleException
org.apache.catalina.LifecycleExceptionpublic String getBasedir()
public void setBasedir(String basedir)
basedir - The basedir to set.public String getConfiguration()
public void setConfiguration(String configuration)
configuration - The configuration to set.public String getDriver()
public void setDriver(String driver)
driver - The driver to set.public String getUri()
public void setUri(String uri)
uri - The uri to set.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||