Class FileRealmAuthenticator
java.lang.Object
org.restheart.plugins.FileConfigurablePlugin
org.restheart.security.authenticators.FileRealmAuthenticator
- All Implemented Interfaces:
io.undertow.security.idm.IdentityManager,org.restheart.plugins.ConfigurablePlugin,org.restheart.plugins.Plugin,org.restheart.plugins.security.Authenticator
public class FileRealmAuthenticator
extends org.restheart.plugins.FileConfigurablePlugin
implements org.restheart.plugins.security.Authenticator
Authenticator with permission defined in a yml configuration file
supports PasswordCredentials and DigestCredentials
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.restheart.plugins.FileConfigurablePlugin
initMethods 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
-
FileRealmAuthenticator
public FileRealmAuthenticator()
-
-
Method Details
-
init
- Throws:
FileNotFoundExceptionorg.restheart.configuration.ConfigurationException
-
consumeConfiguration
- Specified by:
consumeConfigurationin classorg.restheart.plugins.FileConfigurablePlugin
-
verify
public io.undertow.security.idm.Account verify(io.undertow.security.idm.Account account) - Specified by:
verifyin interfaceorg.restheart.plugins.security.Authenticator- Specified by:
verifyin interfaceio.undertow.security.idm.IdentityManager
-
verify
public io.undertow.security.idm.Account verify(String id, io.undertow.security.idm.Credential credential) - Specified by:
verifyin interfaceorg.restheart.plugins.security.Authenticator- Specified by:
verifyin interfaceio.undertow.security.idm.IdentityManager
-
verify
public io.undertow.security.idm.Account verify(io.undertow.security.idm.Credential credential) - Specified by:
verifyin interfaceorg.restheart.plugins.security.Authenticator- Specified by:
verifyin interfaceio.undertow.security.idm.IdentityManager
-