public class StrictTransportSecurityHeader extends Object implements Authorizer<CommonProfile>
| Constructor and Description |
|---|
StrictTransportSecurityHeader() |
StrictTransportSecurityHeader(int maxAge) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxAge() |
boolean |
isAuthorized(WebContext context,
List<CommonProfile> profiles)
Checks if the user profiles and / or the current web context are authorized.
|
void |
setMaxAge(int maxAge) |
public StrictTransportSecurityHeader()
public StrictTransportSecurityHeader(int maxAge)
public boolean isAuthorized(WebContext context, List<CommonProfile> profiles) throws HttpAction
AuthorizerisAuthorized in interface Authorizer<CommonProfile>context - the web contextprofiles - the user profilesHttpAction - whether an additional HTTP action is requiredpublic int getMaxAge()
public void setMaxAge(int maxAge)
Copyright © 2017. All Rights Reserved.