Class FileRealmUser

  • All Implemented Interfaces:
    User, Principal

    public class FileRealmUser
    extends Object
    implements User
    Represents a FileRealm user.
    • Method Detail

      • getGroups

        public String[] getGroups()
      • getAttribute

        public Object getAttribute​(String key)
        Return the requested attribute for the user.

        Not really needed.

        Specified by:
        getAttribute in interface User
        Parameters:
        key - string identifies the attribute.
        Returns:
        value of that attribute, or null if no value has been defined
      • getAttributeNames

        public Enumeration<String> getAttributeNames()
        Return the names of the supported attributes for this user.

        Not really needed.

        Specified by:
        getAttributeNames in interface User