Class AccessPredicateConfigAttribute
java.lang.Object
net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
- All Implemented Interfaces:
Serializable
,ConfigAttribute
A
ConfigAttribute
which uses the embedded AccessPredicate
for the decisions.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAccessPredicateConfigAttribute
(AccessPredicate accessPredicate) Creates a new AccessPredicateConfigAttribute with the givenAccessPredicate
. -
Method Summary
-
Constructor Details
-
AccessPredicateConfigAttribute
Creates a new AccessPredicateConfigAttribute with the givenAccessPredicate
.- Parameters:
accessPredicate
- The access predicate to use.
-
-
Method Details
-
getAccessPredicate
Gets the access predicate that belongs to this instance.- Returns:
- The associated access predicate.
-
getAttribute
- Specified by:
getAttribute
in interfaceConfigAttribute
-
hashCode
public int hashCode() -
equals
-
toString
-