|
||||||||||
| 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
| Nested Class Summary | |
protected class |
XmldbRealm.DefaultXmldbPrinciple
|
| Field Summary | |
protected java.lang.String |
info
Descriptive information about this Realm implementation. |
protected static java.lang.String |
name
Descriptive information about this Realm implementation. |
| Constructor Summary | |
XmldbRealm()
|
|
| Method Summary | |
java.security.Principal |
authenticate(java.lang.String username,
java.lang.String credentials)
Return the Principal associated with the specified username and credentials, if there is one; otherwise return null. |
java.lang.String |
getBasedir()
|
java.lang.String |
getConfiguration()
|
java.lang.String |
getDriver()
|
java.lang.String |
getInfo()
Return descriptive information about this Realm implementation and the corresponding version number, in the format <description>/<version>. |
protected java.lang.String |
getName()
Return a short name for this Realm implementation. |
protected java.lang.String |
getPassword(java.lang.String username)
Return the password associated with the given principal's user name. |
protected java.security.Principal |
getPrincipal(java.lang.String username)
Return the Principal associated with the given user name. |
java.lang.String |
getUri()
|
void |
setBasedir(java.lang.String basedir)
|
void |
setConfiguration(java.lang.String configuration)
|
void |
setDriver(java.lang.String driver)
|
void |
setUri(java.lang.String uri)
|
void |
start()
Prepare for active use of the public methods of this Component. |
void |
startExistDb()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final java.lang.String info
protected static final java.lang.String name
| Constructor Detail |
public XmldbRealm()
| Method Detail |
public java.lang.String getInfo()
<description>/<version>.
public java.security.Principal authenticate(java.lang.String username,
java.lang.String credentials)
null.
username - Username of the Principal to look upcredentials - Password or other credentials to use in authenticating this
usernameprotected java.lang.String getName()
protected java.lang.String getPassword(java.lang.String username)
protected java.security.Principal getPrincipal(java.lang.String username)
public void start()
throws LifecycleException
LifecycleException - if this component detects a fatal error that prevents it
from being started
public void stop()
throws LifecycleException
LifecycleException
public void startExistDb()
throws LifecycleException
LifecycleExceptionpublic java.lang.String getBasedir()
public void setBasedir(java.lang.String basedir)
basedir - The basedir to set.public java.lang.String getConfiguration()
public void setConfiguration(java.lang.String configuration)
configuration - The configuration to set.public java.lang.String getDriver()
public void setDriver(java.lang.String driver)
driver - The driver to set.public java.lang.String getUri()
public void setUri(java.lang.String uri)
uri - The uri to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||