|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.security.Realm
public abstract class Realm
Security realm capable of providing an enroler and a verifier.
| Constructor Summary | |
|---|---|
Realm()
Constructor. |
|
Realm(Verifier verifier,
Enroler enroler)
Constructor. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Realm()
public Realm(Verifier verifier,
Enroler enroler)
verifier - The verifier that can check the validity of the credentials
associated to a request.enroler - The enroler that can add the user roles based on user
principals.| Method Detail |
|---|
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.
public void start()
throws Exception
Exception
public void stop()
throws Exception
Exceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||