|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticationInterface
This is the base interface used by the supported authentication mechanisms.
Method Summary | |
---|---|
void |
authenticate(Map<String,String> aMap)
This method authenticates the user using the entries in the provided map. |
void |
authenticate(String aUserName,
String aPassword)
This method authenticates the user specified by the passed arguments. |
void |
close()
Closes any resources opened for the authentication process. |
void |
initialize(Map<String,String> aConfigMap)
This method initializes the authentication mechanism. |
Method Detail |
---|
void initialize(Map<String,String> aConfigMap) throws Exception
aConfigMap
- the map containing properties used for the authentication.
Exception
- if an error occurs.void authenticate(Map<String,String> aMap) throws Exception
aMap
- the map containing the credentials used for the
authentication.
Exception
- if the authentication fails.void authenticate(String aUserName, String aPassword) throws Exception
aUserName
- this is the user that will be authenticated.aPassword
- this is the password used for the authentication.
Exception
- if the authentication fails.void close() throws Exception
Exception
- if an error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |