Class UserStore

    • Field Detail

      • _users

        protected final java.util.Map<java.lang.String,​UserStore.User> _users
    • Constructor Detail

      • UserStore

        public UserStore()
    • Method Detail

      • addUser

        public void addUser​(java.lang.String username,
                            Credential credential,
                            java.lang.String[] roles)
      • removeUser

        public void removeUser​(java.lang.String username)
      • getUserPrincipal

        public UserPrincipal getUserPrincipal​(java.lang.String username)
      • getRolePrincipals

        public java.util.List<RolePrincipal> getRolePrincipals​(java.lang.String username)