public abstract class EnvironmentAuthenticationProvider extends Object implements AuthenticationProvider
AuthenticationProvider implementations which leverage the active
Environment instance to perform custom authentication.| Constructor and Description |
|---|
EnvironmentAuthenticationProvider()
No-arg constructor, required in order for these providers to be created via reflection at repository start.
|
| Modifier and Type | Method and Description |
|---|---|
protected Environment |
environment() |
abstract void |
initialize()
Initializes this provider instance, after the
org.modeshape.jcr.Environment) and the security domain have been set |
protected String |
securityDomain() |
void |
setEnvironment(Environment environment)
Sets the active repository environment for this provider.
|
void |
setSecurityDomain(String securityDomain)
Sets the name of the security domain in which authentication will be attempted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticatepublic EnvironmentAuthenticationProvider()
public void setEnvironment(Environment environment)
environment - a Environment instance, never nullpublic void setSecurityDomain(String securityDomain)
securityDomain - the name of a valid security domain, never nullprotected Environment environment()
protected String securityDomain()
public abstract void initialize()
org.modeshape.jcr.Environment) and the security domain have been setCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.