Package org.glassfish.api.admin
Interface AdminCommandSecurity.AccessCheckProvider
-
- Enclosing interface:
- AdminCommandSecurity
public static interface AdminCommandSecurity.AccessCheckProviderBehavior required of all command classes which provide any of their own custom authorization enforcement. The system will invoke the class'sgetAccessChecksmethod after it has injected@Injectand@Paramfields and after it has invoked any@PostConstructmethods. The getAccessChecks method returns one or moreAccessRequired.AccessCheckobjects, indicating additional authorization checking that secure admin should perform beyond what is triggered by the annotations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<? extends AccessRequired.AccessCheck>getAccessChecks()Returns theAccessChecks the command has computed at runtime which should be included in the authorization, added to checks that secure admin infers from the command's CRUD or RestEndpoint characteristics orAccessRequiredannotations.
-
-
-
Method Detail
-
getAccessChecks
Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
Returns theAccessChecks the command has computed at runtime which should be included in the authorization, added to checks that secure admin infers from the command's CRUD or RestEndpoint characteristics orAccessRequiredannotations.- Returns:
- the
AccessChecks
-
-