Authenticator (RabbIT/4)
Date: 2009-12-20

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rabbit.filter.authenticate
Interface Authenticator

All Known Implementing Classes:
  PlainFileAuthenticator, SQLAuthenticator

    public interface Authenticator

Something that can authenticate users using some kind of database.

Method Summary
`boolean` | `authenticate(String user, String pwd)` Try to authenticate the user.
`String` | `getToken(HttpHeader header, Connection con)` Find the token used to authenticate

Method Detail

### getToken

    String getToken(HttpHeader header,
                    Connection con)

  Find the token used to authenticate

### authenticate

    boolean authenticate(String user,
                         String pwd)

  Try to authenticate the user.

  Parameters:
    `user` - the username
    `pwd` - the password of the user
  Returns:
    true if authentication succeeded, false otherwise.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD