public class ODefaultPasswordAuthenticator extends OSecurityAuthenticatorAbstract
Constructor and Description |
---|
ODefaultPasswordAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
active() |
String |
authenticate(String username,
String password) |
void |
config(OServer oServer,
OServerConfigurationManager serverCfg,
ODocument jsonConfig) |
protected OServerUserConfiguration |
createServerUser(ODocument userDoc) |
void |
dispose() |
OServerUserConfiguration |
getUser(String username) |
boolean |
isAuthorized(String username,
String resource) |
getAuthenticationHeader, getClientSubject, getName, getServer, getServerConfig, isCaseSensitive, isDebug, isEnabled, isPasswordValid, isSingleSignOnSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthenticationHeaders
public void active()
active
in interface OSecurityComponent
active
in class OSecurityAuthenticatorAbstract
public void config(OServer oServer, OServerConfigurationManager serverCfg, ODocument jsonConfig)
config
in interface OSecurityComponent
config
in class OSecurityAuthenticatorAbstract
protected OServerUserConfiguration createServerUser(ODocument userDoc)
public void dispose()
dispose
in interface OSecurityComponent
dispose
in class OSecurityAuthenticatorAbstract
public boolean isAuthorized(String username, String resource)
isAuthorized
in interface OSecurityAuthenticator
isAuthorized
in class OSecurityAuthenticatorAbstract
public OServerUserConfiguration getUser(String username)
getUser
in interface OSecurityAuthenticator
getUser
in class OSecurityAuthenticatorAbstract
Copyright © 2009–2020 OrientDB. All rights reserved.