|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by the framework engine and allows the login client to initiate a login procedure.
See also LoginClient.init(LoginCallback)
.
Method Summary | |
boolean |
login(java.lang.String username,
java.lang.String password)
Using this method, the login client can ask the framework to try a login using the configured security service. |
Method Detail |
public boolean login(java.lang.String username, java.lang.String password)
Using this method, the login client can ask the framework to try a login using the configured security service. Note that the method does not throw any exceptions but will always return false when an error occured. True is only returned when the security service found a principal with the given username and when the passwords match.
username
- the username of the principalpassword
- the password of the principal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |