public final class AccessPredicateConfigAttribute
extends java.lang.Object
implements org.springframework.security.access.ConfigAttribute
ConfigAttribute which uses the embedded AccessPredicate for the decisions.| Constructor and Description |
|---|
AccessPredicateConfigAttribute(AccessPredicate accessPredicate)
Creates a new AccessPredicateConfigAttribute with the given
AccessPredicate. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
AccessPredicate |
getAccessPredicate()
Gets the access predicate that belongs to this instance.
|
java.lang.String |
getAttribute() |
int |
hashCode() |
java.lang.String |
toString() |
public AccessPredicateConfigAttribute(AccessPredicate accessPredicate)
AccessPredicate.accessPredicate - The access predicate to use.public AccessPredicate getAccessPredicate()
public java.lang.String getAttribute()
getAttribute in interface org.springframework.security.access.ConfigAttributepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object