|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.security.AbstractAuthenticator
com.caucho.security.PropertiesAuthenticator
com.caucho.server.security.PropertyAuthenticator
public class PropertyAuthenticator
The Property authenticator reads a properties file for authentication.
<authenticator url="prop:path=WEB-INF/users.xml"/>
The format of the static file is as follows:
h.potter=password,user,captain
The authenticator can also be configured in the resin-web.xml:
<authenticator url="prop:password-digest=none">
<init>
Harry Potter=quidditch,user,captain
</init>
</authenticator>
Field Summary |
---|
Fields inherited from class com.caucho.security.AbstractAuthenticator |
---|
_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm, NULL_USER |
Constructor Summary | |
---|---|
PropertyAuthenticator()
|
Method Summary |
---|
Methods inherited from class com.caucho.security.PropertiesAuthenticator |
---|
addUser, createUser, getPasswordUser, getPath, init, reload, setPath, setValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyAuthenticator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |