Class FullAuthorizer
java.lang.Object
org.restheart.security.authorizers.FullAuthorizer
- All Implemented Interfaces:
ConfigurablePlugin,Plugin,Authorizer
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.restheart.plugins.security.Authorizer
Authorizer.TYPE -
Constructor Summary
ConstructorsConstructorDescriptionthis Authorizer allows any operation to any userFullAuthorizer(boolean authenticationRequired) this Authorizer allows any operation to any user -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()booleanbooleanisAuthenticationRequired(Request request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.restheart.plugins.ConfigurablePlugin
arg, argOrDefault
-
Constructor Details
-
FullAuthorizer
public FullAuthorizer(boolean authenticationRequired) this Authorizer allows any operation to any user- Parameters:
authenticationRequired-
-
FullAuthorizer
public FullAuthorizer()this Authorizer allows any operation to any user- Throws:
ConfigurationException
-
-
Method Details
-
init
public void init() -
isAllowed
- Specified by:
isAllowedin interfaceAuthorizer
-
isAuthenticationRequired
- Specified by:
isAuthenticationRequiredin interfaceAuthorizer
-