keycloak
|
公開メンバ関数 | |
String | getId () |
String | getName () |
void | setName (String name) |
String | getDisplayName () |
void | setDisplayName (String name) |
Set< String > | getUris () |
void | updateUris (Set< String > uri) |
String | getType () |
void | setType (String type) |
List< Scope > | getScopes () |
String | getIconUri () |
void | setIconUri (String iconUri) |
ResourceServer | getResourceServer () |
String | getOwner () |
boolean | isOwnerManagedAccess () |
void | setOwnerManagedAccess (boolean ownerManagedAccess) |
void | updateScopes (Set< Scope > scopes) |
Map< String, List< String > > | getAttributes () |
String | getSingleAttribute (String name) |
List< String > | getAttribute (String name) |
void | setAttribute (String name, List< String > values) |
void | removeAttribute (String name) |
Represents a resource, which is usually protected by a set of policies within a resource server.
List<String> org.keycloak.authorization.model.Resource.getAttribute | ( | String | name | ) |
Returns the values of an attribute with the given name
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
Map<String, List<String> > org.keycloak.authorization.model.Resource.getAttributes | ( | ) |
Returns the attributes associated with this resource.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
String org.keycloak.authorization.model.Resource.getDisplayName | ( | ) |
Returns the end user friendly name for this resource. If not defined, value for getName() is returned.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
String org.keycloak.authorization.model.Resource.getIconUri | ( | ) |
Returns an icon java.net.URI for this resource.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
String org.keycloak.authorization.model.Resource.getId | ( | ) |
Returns the unique identifier for this instance.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
String org.keycloak.authorization.model.Resource.getName | ( | ) |
Returns the resource's name.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
String org.keycloak.authorization.model.Resource.getOwner | ( | ) |
Returns the resource's owner, which is usually an identifier that uniquely identifies the resource's owner.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
ResourceServer org.keycloak.authorization.model.Resource.getResourceServer | ( | ) |
Returns the ResourceServer to where this resource belongs to.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
List<Scope> org.keycloak.authorization.model.Resource.getScopes | ( | ) |
Returns a List containing all the Scope associated with this resource.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
String org.keycloak.authorization.model.Resource.getSingleAttribute | ( | String | name | ) |
Returns the first value of an attribute with the given name
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
String org.keycloak.authorization.model.Resource.getType | ( | ) |
Returns a string representing the type of this resource.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
Set<String> org.keycloak.authorization.model.Resource.getUris | ( | ) |
Returns a List containing all java.net.URI that uniquely identify this resource.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
boolean org.keycloak.authorization.model.Resource.isOwnerManagedAccess | ( | ) |
Indicates if this resource can be managed by the resource owner.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
void org.keycloak.authorization.model.Resource.removeAttribute | ( | String | name | ) |
void org.keycloak.authorization.model.Resource.setAttribute | ( | String | name, |
List< String > | values | ||
) |
Sets an attribute with the given name
and values
.
name | the attribute name |
value | the attribute values |
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
void org.keycloak.authorization.model.Resource.setDisplayName | ( | String | name | ) |
Sets an end user friendly name for this resource.
name | the name of this resource |
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
void org.keycloak.authorization.model.Resource.setIconUri | ( | String | iconUri | ) |
Sets an icon java.net.URI for this resource.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
void org.keycloak.authorization.model.Resource.setName | ( | String | name | ) |
Sets a name for this resource. The name must be unique.
name | the name of this resource |
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
void org.keycloak.authorization.model.Resource.setOwnerManagedAccess | ( | boolean | ownerManagedAccess | ) |
Sets if this resource can be managed by the resource owner.
ownerManagedAccess |
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
void org.keycloak.authorization.model.Resource.setType | ( | String | type | ) |
Sets a string representing the type of this resource.
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
void org.keycloak.authorization.model.Resource.updateScopes | ( | Set< Scope > | scopes | ) |
Update the set of scopes associated with this resource.
scopes | the list of scopes to update |
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。
void org.keycloak.authorization.model.Resource.updateUris | ( | Set< String > | uri | ) |
Sets a list of java.net.URI that uniquely identify this resource.
uri | an java.net.URI for this resource |
org.keycloak.models.cache.infinispan.authorization.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceAdapterで実装されています。