Package org.glassfish.api.admin
Interface AdminCommandSecurity.AccessCheckProvider
- Enclosing interface:
- AdminCommandSecurity
public static interface AdminCommandSecurity.AccessCheckProvider
Behavior required of all command classes which provide any of their own custom authorization enforcement. The system
will invoke the class's
getAccessChecks method after it has injected @Inject and @Param
fields and after it has invoked any @PostConstruct methods. The getAccessChecks method returns one or more
AccessRequired.AccessCheck objects, indicating additional authorization checking that secure admin should perform beyond
what is triggered by the annotations.-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends AccessRequired.AccessCheck>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 Details
-
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
-