|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoginCommand
The class name of the implementation of this interface is configured in the gateway configuration's security section and is instantiated using reflection on servlet initialization.
| Method Summary | |
|---|---|
Principal |
doAuthentication(String username,
Object credentials)
The gateway calls this method to perform programmatic, custom authentication. |
boolean |
doAuthorization(Principal principal,
List roles)
The gateway calls this method to perform programmatic authorization. |
boolean |
logout(Principal principal)
Attempts to log a user out from their session. |
void |
start(javax.servlet.ServletConfig config)
Called to initialize a login command prior to authentication/authorization requests. |
void |
stop()
Called to free up resources used by the login command. |
| Method Detail |
|---|
void start(javax.servlet.ServletConfig config)
void stop()
Principal doAuthentication(String username,
Object credentials)
username - The principal being authenticatedcredentials - A map, typically with string keys and values - holds, for example, a password
boolean doAuthorization(Principal principal,
List roles)
principal - The principal being checked for authorizationroles - A List of role names to check, all members should be stringsboolean logout(Principal principal)
principal - The principal to logout.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/security/LoginCommand.html