public class PluginRealm extends org.apache.shiro.realm.AuthorizingRealm implements RealmLifecycle, ShiroAuthorizationInfoProvider
RealmLifecycle.Adapter| Constructor and Description |
|---|
PluginRealm(org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin authenticationPlugin,
org.neo4j.server.security.enterprise.auth.plugin.spi.AuthorizationPlugin authorizationPlugin,
org.neo4j.kernel.configuration.Config config,
SecurityLog securityLog,
Clock clock,
SecureHasher secureHasher) |
PluginRealm(org.neo4j.server.security.enterprise.auth.plugin.spi.AuthPlugin authPlugin,
org.neo4j.kernel.configuration.Config config,
SecurityLog securityLog,
Clock clock,
SecureHasher secureHasher) |
PluginRealm(org.neo4j.kernel.configuration.Config config,
SecurityLog securityLog,
Clock clock,
SecureHasher secureHasher) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAuthenticate() |
boolean |
canAuthorize() |
org.apache.shiro.authz.AuthorizationInfo |
getAuthorizationInfoSnapshot(org.apache.shiro.subject.PrincipalCollection principalCollection) |
void |
initialize() |
void |
shutdown() |
void |
start() |
void |
stop() |
boolean |
supports(org.apache.shiro.authc.AuthenticationToken token) |
checkPermission, checkPermission, checkPermissions, checkPermissions, checkRole, checkRoles, checkRoles, getAuthorizationCache, getAuthorizationCacheName, getPermissionResolver, getRolePermissionResolver, hasAllRoles, hasRole, hasRoles, isAuthorizationCachingEnabled, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, setAuthorizationCache, setAuthorizationCacheName, setAuthorizationCachingEnabled, setName, setPermissionResolver, setRolePermissionResolvergetAuthenticationCache, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatchergetCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabledpublic PluginRealm(org.neo4j.kernel.configuration.Config config,
SecurityLog securityLog,
Clock clock,
SecureHasher secureHasher)
public PluginRealm(org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin authenticationPlugin,
org.neo4j.server.security.enterprise.auth.plugin.spi.AuthorizationPlugin authorizationPlugin,
org.neo4j.kernel.configuration.Config config,
SecurityLog securityLog,
Clock clock,
SecureHasher secureHasher)
public PluginRealm(org.neo4j.server.security.enterprise.auth.plugin.spi.AuthPlugin authPlugin,
org.neo4j.kernel.configuration.Config config,
SecurityLog securityLog,
Clock clock,
SecureHasher secureHasher)
public boolean canAuthenticate()
public boolean canAuthorize()
public org.apache.shiro.authz.AuthorizationInfo getAuthorizationInfoSnapshot(org.apache.shiro.subject.PrincipalCollection principalCollection)
getAuthorizationInfoSnapshot in interface ShiroAuthorizationInfoProviderpublic boolean supports(org.apache.shiro.authc.AuthenticationToken token)
supports in interface org.apache.shiro.realm.Realmsupports in class org.apache.shiro.realm.AuthenticatingRealmpublic void initialize()
throws Throwable
initialize in interface RealmLifecycleThrowablepublic void start()
throws Throwable
start in interface RealmLifecycleThrowablepublic void stop()
throws Throwable
stop in interface RealmLifecycleThrowablepublic void shutdown()
throws Throwable
shutdown in interface RealmLifecycleThrowableCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.