public interface ISecurityCheck extends Serializable
WaspAuthorizationStrategy.isActionAuthorized(org.apache.wicket.Component, org.apache.wicket.authorization.Action)
, ISecureComponent.isActionAuthorized(WaspAction) or by
ISecureComponent.isAuthenticated(). Usually they just redirect the call to the
WaspAuthorizationStrategy, but it is not unimaginable that securitychecks are targeted at
specific wasp implementations and take care of there authentication or authorization themself.| Modifier and Type | Method and Description |
|---|---|
boolean |
isActionAuthorized(WaspAction action)
Checks if there are sufficient rights to perform the desired action(s).
|
boolean |
isAuthenticated()
Checks if there is an authenticated user available.
|
boolean isActionAuthorized(WaspAction action)
action - the action(s) like render or enable.WaspAuthorizationStrategy.isComponentAuthorized(org.apache.wicket.Component, WaspAction),
WaspAuthorizationStrategy.isClassAuthorized(Class, WaspAction),
ISecureModel.isAuthorized(org.apache.wicket.Component, WaspAction)boolean isAuthenticated()
WaspAuthorizationStrategy.isComponentAuthenticated(org.apache.wicket.Component),
WaspAuthorizationStrategy.isClassAuthenticated(Class),
ISecureModel.isAuthenticated(org.apache.wicket.Component)Copyright © 2015. All rights reserved.