Package org.restlet.security
Interface Enroler
public interface Enroler
Updates an authenticated client user with assigned roles. Typically, it is
invoked by an
Authenticator after successful authentication to add
Role instances based on available User.- Author:
- Jerome Louvel
- See Also:
-
Method Summary
-
Method Details
-
enrole
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.
-