|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.config.SecurityConstraint
public class SecurityConstraint
Security constraints are used by the login manager to secure access to destinations and endpoints.
| Field Summary | |
|---|---|
static String |
BASIC_AUTH_METHOD
String constant for basic authentication. |
static String |
CUSTOM_AUTH_METHOD
String constant for custom authentication. |
| Constructor Summary | |
|---|---|
SecurityConstraint()
Creates an anonymous SecurityConstraint instance. |
|
SecurityConstraint(String id)
Creates a SecurityConstraint instance with an id. |
|
| Method Summary | |
|---|---|
void |
addRole(String role)
Adds a role to the list of roles of the SecurityConstraint. |
String |
getId()
Returns the id of the SecurityConstraint. |
String |
getMethod()
Returns the authorization method of the SecurityConstraint. |
List |
getRoles()
Returns a list of roles of the SecurityConstraint. |
void |
setMethod(String method)
Sets the authorization method of the SecurityConstraint. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BASIC_AUTH_METHOD
public static final String CUSTOM_AUTH_METHOD
| Constructor Detail |
|---|
public SecurityConstraint()
SecurityConstraint instance.
public SecurityConstraint(String id)
SecurityConstraint instance with an id.
id - The id of the SecurityConstraint instance.| Method Detail |
|---|
public List getRoles()
SecurityConstraint.
public void addRole(String role)
SecurityConstraint.
role - New role to add to the list of roles.public String getId()
SecurityConstraint.
SecurityConstraint.public String getMethod()
SecurityConstraint.
public void setMethod(String method)
SecurityConstraint.
Valid values are Basic and Custom.
method - The authentication method to set which can be custom or basic.
|
||||||||||
| 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/config/SecurityConstraint.html