|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.security.SecurityRule
public class SecurityRule
Encapsulates the rules for comparing security attributes
| Field Summary | |
|---|---|
static short |
COMPARISON_ALL
Compare method where all attribute authorization allows access |
static short |
COMPARISON_ANY
Compare method where any attribute authorization allows access |
static java.lang.String |
SECURITY_ATTRIBUTE_NAME
Attribute name for the location of the security rule |
| Constructor Summary | |
|---|---|
SecurityRule()
|
|
| Method Summary | |
|---|---|
static java.util.Collection<java.lang.String> |
commaDelimitedListToSecurityAttributes(java.lang.String attributes)
Convert attributes from comma separated String to Collection |
java.util.Collection<java.lang.String> |
getAttributes()
Gets security attributes |
short |
getComparisonType()
Gets comparison type |
static java.lang.String |
securityAttributesToCommaDelimitedList(java.util.Collection<?> attributes)
Convert attributes to comma separated String |
void |
setAttributes(java.util.Collection<java.lang.String> attributes)
Sets security attributes |
void |
setComparisonType(short comparisonType)
Sets comparison type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SECURITY_ATTRIBUTE_NAME
public static final short COMPARISON_ANY
public static final short COMPARISON_ALL
| Constructor Detail |
|---|
public SecurityRule()
| Method Detail |
|---|
public static java.lang.String securityAttributesToCommaDelimitedList(java.util.Collection<?> attributes)
attributes - the attributes to convert
public static java.util.Collection<java.lang.String> commaDelimitedListToSecurityAttributes(java.lang.String attributes)
attributes - the attributes to convert
public java.util.Collection<java.lang.String> getAttributes()
public void setAttributes(java.util.Collection<java.lang.String> attributes)
attributes - security attributespublic short getComparisonType()
public void setComparisonType(short comparisonType)
comparisonType - comparison type
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||