Class OriginVetoer
java.lang.Object
org.restheart.security.authorizers.OriginVetoer
- All Implemented Interfaces:
org.restheart.plugins.ConfigurablePlugin,org.restheart.plugins.Plugin,org.restheart.plugins.security.Authorizer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.restheart.plugins.security.Authorizer
org.restheart.plugins.security.Authorizer.TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()booleanisAllowed(org.restheart.exchange.Request<?> request) booleanisAuthenticationRequired(org.restheart.exchange.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
-
OriginVetoer
public OriginVetoer()
-
-
Method Details
-
init
public void init() -
isAllowed
public boolean isAllowed(org.restheart.exchange.Request<?> request) - Specified by:
isAllowedin interfaceorg.restheart.plugins.security.Authorizer
-
isAuthenticationRequired
public boolean isAuthenticationRequired(org.restheart.exchange.Request request) - Specified by:
isAuthenticationRequiredin interfaceorg.restheart.plugins.security.Authorizer
-