public interface Enroler
Authenticator after successful authentication to add
Role instances based on available User.Authenticator.getEnroler(),
Authenticator.setEnroler(Enroler),
ClientInfo.getUser(),
ClientInfo.getRoles()| Modifier and Type | Method and Description |
|---|---|
void |
enrole(ClientInfo clientInfo)
|
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.Copyright © 2005-2024 Restlet.