public abstract class Realm extends 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.
|
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(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.
|
String |
toString() |
public Enroler getEnroler()
public 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(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.Copyright © 2005–2017. All rights reserved.