Modifier and Type | Class and Description |
---|---|
class |
AbstractSecurityCheck
Basic check providing some utility methods.
|
class |
AlwaysGrantedSecurityCheck
A securitycheck that always grants the permission to the user.
|
class |
ClassSecurityCheck
Default instantiation check for any type of class.
|
class |
ComponentSecurityCheck
Basic security check for components.
|
class |
ContainerSecurityCheck
Security check for when you replace panels on a page instead of using new pages.
|
class |
InverseSecurityCheck
SecurityCheck that says you are authorized when in fact you are not and vice versa.
|
class |
LinkSecurityCheck
A security check designed for
Link s. |
Modifier and Type | Method and Description |
---|---|
static ISecurityCheck |
SecurityChecks.and(ISecurityCheck[] checks)
Combines the checks in an and list of checks.
|
static ISecurityCheck |
SecurityChecks.and(ISecurityCheck check1,
ISecurityCheck check2)
Combines the checks in an and list of checks.
|
static ISecurityCheck |
SecurityChecks.or(ISecurityCheck[] checks)
Combines the checks in an or list of checks.
|
static ISecurityCheck |
SecurityChecks.or(ISecurityCheck check1,
ISecurityCheck check2)
Combines the checks in an or list of checks.
|
Modifier and Type | Method and Description |
---|---|
static ISecurityCheck |
SecurityChecks.and(ISecurityCheck[] checks)
Combines the checks in an and list of checks.
|
static ISecurityCheck |
SecurityChecks.and(ISecurityCheck check1,
ISecurityCheck check2)
Combines the checks in an and list of checks.
|
static ISecurityCheck |
SecurityChecks.or(ISecurityCheck[] checks)
Combines the checks in an or list of checks.
|
static ISecurityCheck |
SecurityChecks.or(ISecurityCheck check1,
ISecurityCheck check2)
Combines the checks in an or list of checks.
|
Constructor and Description |
---|
InverseSecurityCheck(ISecurityCheck wrapped)
Constructs a new SecurityCheck that will invert the result from the provided security check.
|
Modifier and Type | Method and Description |
---|---|
ISecurityCheck |
SecureWebPage.getSecurityCheck() |
ISecurityCheck |
SecurePage.getSecurityCheck() |
ISecurityCheck |
ISecureComponent.getSecurityCheck()
Gets the security check attached to this component.
|
static ISecurityCheck |
SecureComponentHelper.getSecurityCheck(org.apache.wicket.Component component)
The security check placed on the component or null.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.wicket.Component |
SecureComponentHelper.setSecurityCheck(org.apache.wicket.Component component,
ISecurityCheck securityCheck)
Places a security check on a component.
|
void |
SecureWebPage.setSecurityCheck(ISecurityCheck check) |
void |
SecurePage.setSecurityCheck(ISecurityCheck check) |
void |
ISecureComponent.setSecurityCheck(ISecurityCheck check)
Sets (or removes in the case of null) the security check on this component.
|
Modifier and Type | Method and Description |
---|---|
ISecurityCheck |
SecureTextField.getSecurityCheck() |
ISecurityCheck |
SecureForm.getSecurityCheck() |
Modifier and Type | Method and Description |
---|---|
void |
SecureTextField.setSecurityCheck(ISecurityCheck check) |
void |
SecureForm.setSecurityCheck(ISecurityCheck check) |
Modifier and Type | Method and Description |
---|---|
protected ISecurityCheck |
SecureContainerLink.generateSecurityCheck()
Generates the securitycheck for this link.
|
ISecurityCheck |
SecureContainerLink.getSecurityCheck() |
ISecurityCheck |
SecureAjaxLink.getSecurityCheck() |
ISecurityCheck |
SecurePageLink.getSecurityCheck() |
ISecurityCheck |
SecureBookmarkablePageLink.getSecurityCheck() |
Modifier and Type | Method and Description |
---|---|
void |
SecureContainerLink.setSecurityCheck(ISecurityCheck check) |
void |
SecureAjaxLink.setSecurityCheck(ISecurityCheck check) |
void |
SecurePageLink.setSecurityCheck(ISecurityCheck check) |
void |
SecureBookmarkablePageLink.setSecurityCheck(ISecurityCheck check) |
Modifier and Type | Method and Description |
---|---|
ISecurityCheck |
SecurePanel.getSecurityCheck() |
Modifier and Type | Method and Description |
---|---|
void |
SecurePanel.setSecurityCheck(ISecurityCheck check) |
Modifier and Type | Method and Description |
---|---|
protected ISecurityCheck[] |
ClassAuthorizationStrategy.getClassChecks(Class<? extends org.apache.wicket.request.component.IRequestableComponent> clazz)
Returns the static
ISecurityCheck s of a class. |
protected ISecurityCheck |
WaspAuthorizationStrategy.getSecurityCheck(org.apache.wicket.Component component)
We cannot assume everybody uses the here specified public methods to store the securitycheck,
so we check if the component is a ISecureComponent and if so use the getSecurityCheck on the
secure component else we fall back to the SecureComponentHelper.
|
Modifier and Type | Method and Description |
---|---|
protected List<ISecurityCheck> |
ClassAuthorizationStrategy.getClassChecks(Class<?> clazz,
List<ISecurityCheck> list)
Appends all the
ISecurityCheck s of a class and its superclasses to the list. |
Modifier and Type | Method and Description |
---|---|
protected List<ISecurityCheck> |
ClassAuthorizationStrategy.getClassChecks(Class<?> clazz,
List<ISecurityCheck> list)
Appends all the
ISecurityCheck s of a class and its superclasses to the list. |
Modifier and Type | Class and Description |
---|---|
class |
DataSecurityCheck
SecurityCheck that uses a
DataPermission . |
Copyright © 2015. All rights reserved.