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

    Modifier and Type
    Method
    Description
    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 Details

    • enrole

      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. Note that principals could also be added to the ClientInfo if necessary. The addition could also potentially be based on the presence of Principal.
      Parameters:
      clientInfo - The clientInfo to update.