public class ContainerSecurityCheck extends ComponentSecurityCheck
Constructor and Description |
---|
ContainerSecurityCheck(org.apache.wicket.MarkupContainer component)
Constructs a new check on the container.
|
ContainerSecurityCheck(org.apache.wicket.MarkupContainer component,
boolean checkSecureModelIfExists)
Constructs a new check on the container.
|
ContainerSecurityCheck(org.apache.wicket.MarkupContainer component,
boolean checkSecureModelIfExists,
boolean enableAuthenticationCheck)
Constructs a new check on the container with the given flags for model and authentication
checks.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isActionAuthorized(WaspAction action)
Checks the container class.
|
checkSecureModel, getComponent, isAuthenticated
getActionFactory, getLoginPage, getStrategy, isActionAuthorized
public ContainerSecurityCheck(org.apache.wicket.MarkupContainer component)
component
- the containerpublic ContainerSecurityCheck(org.apache.wicket.MarkupContainer component, boolean checkSecureModelIfExists)
component
- the containercheckSecureModelIfExists
- flag for enabling or disabling the securitycheck on the modelpublic ContainerSecurityCheck(org.apache.wicket.MarkupContainer component, boolean checkSecureModelIfExists, boolean enableAuthenticationCheck)
component
- checkSecureModelIfExists
- flag for enabling or disabling the securitycheck on the modelenableAuthenticationCheck
- flag if authentication should be checked for this componentpublic boolean isActionAuthorized(WaspAction action)
isActionAuthorized
in interface ISecurityCheck
isActionAuthorized
in class ComponentSecurityCheck
action
- the action(s) like render or enable.ComponentSecurityCheck.isActionAuthorized(org.wicketstuff.security.actions.WaspAction)
Copyright © 2015. All rights reserved.