Package org.restheart.plugins.security
Interface Authorizer
- All Superinterfaces:
ConfigurablePlugin,Plugin
See https://restheart.org/docs/plugins/security-plugins/#authorizers
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumA secured request is allowed when no VETOER denies it and at least one ALLOWER allows it -
Method Summary
Methods inherited from interface org.restheart.plugins.ConfigurablePlugin
arg, argOrDefault
-
Method Details
-
isAllowed
- Parameters:
request-- Returns:
- true if request is allowed
-
isAuthenticationRequired
- Parameters:
request-- Returns:
- true if not authenticated user won't be allowed
-