One or more resources that the resource server manages as a set of protected resources.
For more details, OAuth-resource-reg.
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private String | |
| private String | |
| private String | |
| private String | |
| private ResourceOwnerRepresentation | |
| private Boolean | |
| private Set | |
| private String | |
| private Set |
| Access | Constructor and Description |
|---|---|
| public | ResourceRepresentation(String
a human-readable string describing a set of one or more resources name, Set<ScopeRepresentation> the available scopes for this resource set scopes, Set<String> uris, String a string uniquely identifying the semantics of the resource set type, String a iconUri)URI for a graphic icon representing the resource setCreates a new instance. |
| public | ResourceRepresentation(String name, Set<ScopeRepresentation> scopes, String uri, String type, String iconUri)
|
| public | ResourceRepresentation(String
a human-readable string describing a set of one or more resources name, Set<ScopeRepresentation> the available scopes for this resource set scopes, Set<String> uris, String a string uniquely identifying the semantics of the resource set type)Creates a new instance. |
| public | |
| public | ResourceRepresentation(String
a human-readable string describing a set of one or more resources name, Set<ScopeRepresentation> the available scopes for this resource set scopes)Creates a new instance. |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public Map | |
| public String | |
| public String | |
| public String | |
| public String | |
| public ResourceOwnerRepresentation | |
| public Boolean | |
| public Set | |
| public String | |
| public String | |
| public Set | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | setScopesUma(Set<ScopeRepresentation> scopes)
TODO: This is a workaround to allow deserialization of UMA resource representation. |
| public void | |
| public void | |
| public void |
| attributes | back to summary |
|---|---|
| private Map<String, List<String>> attributes
| |
| displayName | back to summary |
|---|---|
| private String displayName | |
| iconUri | back to summary |
|---|---|
private String iconUri
| |
| id | back to summary |
|---|---|
private String id
| |
| name | back to summary |
|---|---|
| private String name | |
| owner | back to summary |
|---|---|
| private ResourceOwnerRepresentation owner | |
| ownerManagedAccess | back to summary |
|---|---|
| private Boolean ownerManagedAccess | |
| scopes | back to summary |
|---|---|
private Set<ScopeRepresentation> scopes
| |
| type | back to summary |
|---|---|
| private String type | |
| uris | back to summary |
|---|---|
private Set<String> uris
| |
| ResourceRepresentation | back to summary |
|---|---|
| public ResourceRepresentation(String name, Set<ScopeRepresentation> scopes, Set<String> uris, String type, String iconUri) Creates a new instance.
| |
| ResourceRepresentation | back to summary |
|---|---|
| public ResourceRepresentation(String name, Set<ScopeRepresentation> scopes, String uri, String type, String iconUri) | |
| ResourceRepresentation | back to summary |
|---|---|
| public ResourceRepresentation(String name, Set<ScopeRepresentation> scopes, Set<String> uris, String type) Creates a new instance.
| |
| ResourceRepresentation | back to summary |
|---|---|
| public ResourceRepresentation(String name, Set<ScopeRepresentation> scopes, String uri, String type) | |
| ResourceRepresentation | back to summary |
|---|---|
| public ResourceRepresentation(String name, Set<ScopeRepresentation> scopes) Creates a new instance.
| |
| ResourceRepresentation | back to summary |
|---|---|
| public ResourceRepresentation(String name, String... scopes) | |
| ResourceRepresentation | back to summary |
|---|---|
| public ResourceRepresentation() Creates a new instance. | |
| addScope | back to summary |
|---|---|
| public void addScope(String... scopeNames) | |
| addScope | back to summary |
|---|---|
| public void addScope(ScopeRepresentation scope) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAttributes | back to summary |
|---|---|
| public Map | |
| getDisplayName | back to summary |
|---|---|
| public String getDisplayName() | |
| getIconUri | back to summary |
|---|---|
| public String getIconUri() | |
| getId | back to summary |
|---|---|
| public String getId() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getOwner | back to summary |
|---|---|
| public ResourceOwnerRepresentation getOwner() | |
| getOwnerManagedAccess | back to summary |
|---|---|
| public Boolean getOwnerManagedAccess() | |
| getScopes | back to summary |
|---|---|
| public Set | |
| getType | back to summary |
|---|---|
| public String getType() | |
| getUri | back to summary |
|---|---|
| public String getUri()
Deprecated
| |
| getUris | back to summary |
|---|---|
| public Set | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setAttributes | back to summary |
|---|---|
| public void setAttributes(Map<String, List<String>> attributes) | |
| setDisplayName | back to summary |
|---|---|
| public void setDisplayName(String displayName) | |
| setIconUri | back to summary |
|---|---|
| public void setIconUri(String iconUri) | |
| setId | back to summary |
|---|---|
| public void setId(String id) | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| setOwner | back to summary |
|---|---|
public void setOwner(ResourceOwnerRepresentation owner)
| |
| setOwner | back to summary |
|---|---|
public void setOwner(String ownerId)
| |
| setOwnerManagedAccess | back to summary |
|---|---|
| public void setOwnerManagedAccess(Boolean ownerManagedAccess) | |
| setScopes | back to summary |
|---|---|
| public void setScopes(Set<ScopeRepresentation> scopes) | |
| setScopesUma | back to summary |
|---|---|
| private void setScopesUma(Set<ScopeRepresentation> scopes) TODO: This is a workaround to allow deserialization of UMA resource representation. Jackson 2.19+ support aliases, once we upgrade, change this.
| |
| setType | back to summary |
|---|---|
| public void setType(String type) | |
| setUri | back to summary |
|---|---|
| public void setUri(String uri)
Deprecated
| |
| setUris | back to summary |
|---|---|
| public void setUris(Set<String> uris) | |