Authorization


Authentication API

If you don't want to use XmlAuthenticator or JdbcAuthenticator, you can build your own authenticator. The fundamental goal of an Authenticator class is to accept a username and password and return a UserPrincipal object if the username/password matches stored combinations.

All new authenticators should extend the AbstractAuthenticator class. The specific methods that need to be implemented can be found at www.caucho.com/resin/javadoc/index.html under the com.caucho.http.security. AbstractAuthenticator entry.




Mastering Resin
Mastering Resin
ISBN: 0471431036
EAN: 2147483647
Year: 2002
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net