Package org.restlet.security
Class MemoryRealm.DefaultEnroler
- java.lang.Object
-
- org.restlet.security.MemoryRealm.DefaultEnroler
-
- All Implemented Interfaces:
Enroler
- Enclosing class:
- MemoryRealm
private class MemoryRealm.DefaultEnroler extends java.lang.Object implements Enroler
Enroler based on the default security model.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateDefaultEnroler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenrole(ClientInfo clientInfo)
-
-
-
Method Detail
-
enrole
public void enrole(ClientInfo clientInfo)
Description copied from interface:EnrolerAttempts to update an authenticated client, with aUserproperly defined, by adding theRolethat are assigned to this user. Note that principals could also be added to theClientInfoif necessary. The addition could also potentially be based on the presence ofPrincipal.
-
-