public abstract class LoginServiceFactoryImpl extends java.lang.Object implements JettyLoginServiceFactory
org.eclipse.jetty.security.LoginService implementations.| Constructor and Description |
|---|
LoginServiceFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilename() |
java.lang.String |
getUserRealm() |
void |
setFilename(java.lang.String filename)
Set the filename containing the configuration for the concrete class.
|
void |
setUserRealm(java.lang.String userRealm)
Set the realm for the login service.
|
java.lang.String |
validateFilename() |
<T extends LoginServiceFactoryImpl> |
withFilename(java.lang.String s) |
<T extends LoginServiceFactoryImpl> |
withUserRealm(java.lang.String s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitretrieveLoginServicepublic java.lang.String getUserRealm()
public void setUserRealm(java.lang.String userRealm)
userRealm - the realm.public <T extends LoginServiceFactoryImpl> T withUserRealm(java.lang.String s)
public java.lang.String getFilename()
public java.lang.String validateFilename()
throws java.lang.Exception
java.lang.Exceptionpublic void setFilename(java.lang.String filename)
Depending on the concrete implementation, the file may well have different contents; for a HashLoginServiceFactory the
file will contain username/password/roles; for a JdbcLoginServiceFactory it will contain properties that tell the
underlying service how to connect to the database.
filename - the filename containing configuration.public <T extends LoginServiceFactoryImpl> T withFilename(java.lang.String s)