|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authenticator
Application code implements Authenticator in order to participate in the OOWeb security framework.
OOWeb will instantiate this named class (which must have a public, no-arg constructor) and call its login() method, passing the values for username and password garnered from the current request.
User
Method Summary | |
---|---|
User |
authenticate(java.lang.String username,
java.lang.String password)
This method should authenticate the credentials passed to the web framework by the web user. |
Method Detail |
---|
User authenticate(java.lang.String username, java.lang.String password) throws java.lang.Exception
User
object representing that user
which is stored in the session.
username
- the value submitted by the web userpassword
- the value submitted by the web user
java.lang.Exception
- if the name/password cannot be authenticated. Any
Exception at all will be taken to mean authentication failure by
OOWeb
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |