Class CacheControlHeader
- java.lang.Object
-
- org.pac4j.core.authorization.authorizer.CacheControlHeader
-
- All Implemented Interfaces:
Authorizer<UserProfile>
public class CacheControlHeader extends Object implements Authorizer<UserProfile>
Cache control header.- Since:
- 1.8.1
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description CacheControlHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAuthorized(WebContext context, List<UserProfile> profiles)
Checks if the user profiles and / or the current web context are authorized.
-
-
-
Method Detail
-
isAuthorized
public boolean isAuthorized(WebContext context, List<UserProfile> profiles)
Description copied from interface:Authorizer
Checks if the user profiles and / or the current web context are authorized.- Specified by:
isAuthorized
in interfaceAuthorizer<UserProfile>
- Parameters:
context
- the web contextprofiles
- the user profiles- Returns:
- if the access is authorized
-
-