|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.security.AppServerLoginCommand
public abstract class AppServerLoginCommand
This class implements LoginCommand and doAuthorization in way that should work by default if authorization logged a user into the J2EE appserver. doAuthorization uses isUserInRole.
| Constructor Summary | |
|---|---|
AppServerLoginCommand()
|
|
| Method Summary | |
|---|---|
boolean |
doAuthorization(Principal principal,
List roles)
The gateway calls this method to perform programmatic authorization. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface flex.messaging.security.LoginCommand |
|---|
doAuthentication, logout |
| Constructor Detail |
|---|
public AppServerLoginCommand()
| Method Detail |
|---|
public void start(javax.servlet.ServletConfig config)
LoginCommand
start in interface LoginCommandpublic void stop()
LoginCommand
stop in interface LoginCommand
public boolean doAuthorization(Principal principal,
List roles)
throws SecurityException
LoginCommand
doAuthorization in interface LoginCommandprincipal - The principal being checked for authorizationroles - A List of role names to check, all members should be strings
SecurityException
|
||||||||||
| 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/blazeds/1/javadoc/flex/messaging/security/AppServerLoginCommand.html