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