Class SubjectAccessReviewSpec

    • Method Detail

      • getExtra

        public Map<String,​List<String>> getExtra()
        extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
      • setExtra

        public void setExtra​(Map<String,​List<String>> extra)
        extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
      • getGroups

        public List<String> getGroups()
        groups is the groups you're testing for.
      • setGroups

        public void setGroups​(List<String> groups)
        groups is the groups you're testing for.
      • getNonResourceAttributes

        public NonResourceAttributes getNonResourceAttributes()
        SubjectAccessReviewSpec is a description of the access request. Exactly one of resourceAttributes and nonResourceAttributes must be set
      • setNonResourceAttributes

        public void setNonResourceAttributes​(NonResourceAttributes nonResourceAttributes)
        SubjectAccessReviewSpec is a description of the access request. Exactly one of resourceAttributes and nonResourceAttributes must be set
      • getResourceAttributes

        public ResourceAttributes getResourceAttributes()
        SubjectAccessReviewSpec is a description of the access request. Exactly one of resourceAttributes and nonResourceAttributes must be set
      • setResourceAttributes

        public void setResourceAttributes​(ResourceAttributes resourceAttributes)
        SubjectAccessReviewSpec is a description of the access request. Exactly one of resourceAttributes and nonResourceAttributes must be set
      • getUid

        public String getUid()
        uid information about the requesting user.
      • setUid

        public void setUid​(String uid)
        uid information about the requesting user.
      • getUser

        public String getUser()
        user is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
      • setUser

        public void setUser​(String user)
        user is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)