Class MemoryRealm.DefaultEnroler

  • All Implemented Interfaces:
    Enroler
    Enclosing class:
    MemoryRealm

    private class MemoryRealm.DefaultEnroler
    extends java.lang.Object
    implements Enroler
    Enroler based on the default security model.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DefaultEnroler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultEnroler

        private DefaultEnroler()
    • Method Detail

      • enrole

        public void enrole​(ClientInfo clientInfo)
        Description copied from interface: Enroler
        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.
        Specified by:
        enrole in interface Enroler
        Parameters:
        clientInfo - The clientInfo to update.