public class StrictTransportSecurityHeader extends Object implements Authorizer<UserProfile>
| Constructor and Description |
|---|
StrictTransportSecurityHeader() |
StrictTransportSecurityHeader(int maxAge) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxAge() |
boolean |
isAuthorized(WebContext context,
UserProfile profile)
Checks if the user profile is authorized for the current web context.
|
void |
setMaxAge(int maxAge) |
public StrictTransportSecurityHeader()
public StrictTransportSecurityHeader(int maxAge)
public boolean isAuthorized(WebContext context, UserProfile profile)
AuthorizerisAuthorized in interface Authorizer<UserProfile>context - the web contextprofile - the user profilepublic int getMaxAge()
public void setMaxAge(int maxAge)
Copyright © 2016. All Rights Reserved.