Package org.restlet.security
Interface Enroler
- 
 public interface EnrolerUpdates an authenticated client user with assigned roles. Typically, it is invoked by anAuthenticatorafter successful authentication to addRoleinstances based on availableUser.- Author:
- Jerome Louvel
- See Also:
- Authenticator.getEnroler(),- Authenticator.setEnroler(Enroler),- ClientInfo.getUser(),- ClientInfo.getRoles()
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidenrole(ClientInfo clientInfo)
 
- 
- 
- 
Method Detail- 
enrolevoid enrole(ClientInfo clientInfo) Attempts 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.- Parameters:
- clientInfo- The clientInfo to update.
 
 
- 
 
-