Logs in a user based solely on IP address; no other authentication is
performed. Barring a mis-configuration or I/O error, this LoginModule
always succeeds.
This module must be used with a CallbackHandler (such as
WebContainerCallbackHandler ) that supports the following Callback
types:
-
HttpRequestCallback - supplies the IP address, which is used as
a backup in case no name is supplied.
After authentication, a generic WikiPrincipal based on the IP address will be
created and associated with the Subject. Principals
com.ecyrd.jspwiki.auth.authorize.Role.ALL and
com.ecyrd.jspwiki.auth.authorize.Role.ANONYMOUS will be added.
See Also: javax.security.auth.spi.LoginModule.commit See Also: author: Andrew Jaquith since: 2.3 |