- All Known Implementing Classes:
AuthPolicyList
public interface AuthPolicy
Policy for authorization to a resource.
Assumes the user has already been authenticated.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Is the use authorized for this resource?default boolean
Is the use denied for this resource? Both isAllowed(java.lang.String) and isDenied(java.lang.String) could be false if the policy does not know one way of the other.
-
Method Details
-
isAllowed
Is the use authorized for this resource? -
isDenied
Is the use denied for this resource? Both isAllowed(java.lang.String) and isDenied(java.lang.String) could be false if the policy does not know one way of the other.
-