|
Restlet Framework 2.2.3 Java Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
.
Authenticator.getEnroler()
,
Authenticator.setEnroler(Enroler)
,
ClientInfo.getUser()
,
ClientInfo.getRoles()
Method Summary | |
---|---|
void |
enrole(ClientInfo clientInfo)
Attempts to update an authenticated client, with a User properly
defined, by adding the Role that are assigned to this user. |
Method Detail |
---|
void enrole(ClientInfo clientInfo)
User
properly
defined, by adding the Role
that are assigned to this user. Note
that principals could also be added to the ClientInfo
if
necessary. The addition could also potentially be based on the presence
of Principal
.
clientInfo
- The clientInfo to update.
|
Restlet Framework 2.2.3 Java Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |