Class PeerDaemonUser


  • public class PeerDaemonUser
    extends CurrentUser
    Identity of a peer daemon process that isn't this JVM.
    • Field Detail

    • Constructor Detail

      • PeerDaemonUser

        @Inject
        protected PeerDaemonUser​(SocketAddress peer)
    • Method Detail

      • getEffectiveGroups

        public GroupMembership getEffectiveGroups()
        Description copied from class: CurrentUser
        Get the set of groups the user is currently a member of.

        The returned set may be a subset of the user's actual groups; if the user's account is currently deemed to be untrusted then the effective group set is only the anonymous and registered user groups. To enable additional groups (and gain their granted permissions) the user must update their account to use only trusted authentication providers.

        Specified by:
        getEffectiveGroups in class CurrentUser
        Returns:
        active groups for this user.
      • getCacheKey

        public Object getCacheKey()
        Description copied from class: CurrentUser
        Returns a unique identifier for this user that is intended to be used as a cache key. Returned object should to implement equals() and hashCode() for effective caching.
        Specified by:
        getCacheKey in class CurrentUser