Package org.restlet.security
Interface Enroler
-
public interface Enroler
Updates an authenticated client user with assigned roles. Typically, it is invoked by anAuthenticator
after successful authentication to addRole
instances based on availableUser
.- Author:
- Jerome Louvel
- See Also:
Authenticator.getEnroler()
,Authenticator.setEnroler(Enroler)
,ClientInfo.getUser()
,ClientInfo.getRoles()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
enrole(ClientInfo clientInfo)
-
-
-
Method Detail
-
enrole
void enrole(ClientInfo clientInfo)
Attempts to update an authenticated client, with aUser
properly defined, by adding theRole
that are assigned to this user. Note that principals could also be added to theClientInfo
if necessary. The addition could also potentially be based on the presence ofPrincipal
.- Parameters:
clientInfo
- The clientInfo to update.
-
-