Class | Description |
---|---|
PermissionCheckProcessor |
Given a method where a specific permission is required like, for instance:
@PermissionCheck("featureX")
private void enableFeatureX() {
...
}
This processor will append the required security check code to ensure the method body
is only executed when the user is granted with the proper permission rights. |
ResourceCheckProcessor |
Given a method where "project" creation permissions are required like, for instance:
@SecuredAction(type="project", action="create")
private void enableProjectCreation() {
creationButton.setEnabled(true);
}
This processor class will append the required security check code to ensure the method body
is only executed when the user is granted with the proper permission rights. |
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.