public abstract class Realm
extends java.lang.Object
Constructor and Description |
---|
Realm()
Constructor.
|
Realm(Verifier verifier,
Enroler enroler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Enroler |
getEnroler()
Returns an enroler that can add the user roles based on user principals.
|
java.lang.String |
getName()
Returns the name.
|
Series<Parameter> |
getParameters()
Returns the modifiable series of parameters.
|
Verifier |
getVerifier()
Returns a verifier that can check the validity of the credentials
associated to a request.
|
boolean |
isStarted()
Indicates if the realm is started.
|
boolean |
isStopped()
Indicates if the realm is stopped.
|
void |
setEnroler(Enroler enroler)
Sets an enroler that can add the user roles based on user principals.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setParameters(Series<Parameter> parameters)
Sets the modifiable series of parameters.
|
void |
setVerifier(Verifier verifier)
Sets a verifier that can check the validity of the credentials associated
to a request.
|
void |
start()
Starts the realm.
|
void |
stop()
Stops the realm.
|
java.lang.String |
toString() |
public Enroler getEnroler()
public java.lang.String getName()
public Series<Parameter> getParameters()
public Verifier getVerifier()
public boolean isStarted()
public boolean isStopped()
public void setEnroler(Enroler enroler)
enroler
- An enroler.public void setName(java.lang.String name)
name
- The name.public void setParameters(Series<Parameter> parameters)
parameters
- A series of parameters.public void setVerifier(Verifier verifier)
verifier
- A local verifier.public void start() throws java.lang.Exception
java.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2024 Restlet.