keycloak
|
公開メンバ関数 | |
ResourceRepresentation | create (final ResourceRepresentation resource) |
void | update (final ResourceRepresentation resource) |
ResourceRepresentation | findById (final String id) |
ResourceRepresentation | findByName (String name) |
ResourceRepresentation | findByName (String name, String ownerId) |
String [] | find (final String id, final String name, final String uri, final String owner, final String type, final String scope, final boolean matchingUri, final Integer firstResult, final Integer maxResult) |
String [] | findAll () |
void | delete (final String id) |
List< ResourceRepresentation > | findByUri (String uri) |
List< ResourceRepresentation > | findByMatchingUri (String uri) |
関数 | |
ProtectedResource (Http http, ServerConfiguration serverConfiguration, Configuration configuration, TokenCallable pat) | |
public< R > R | find (final String id, final String name, final String uri, final String owner, final String type, final String scope, final boolean matchingUri, final boolean deep, final Integer firstResult, final Integer maxResult) |
非公開メンバ関数 | |
HttpMethod | createFindRequest (String id, String name, String uri, String owner, String type, String scope, boolean matchingUri, boolean deep, Integer firstResult, Integer maxResult) |
非公開変数類 | |
final Http | http |
ServerConfiguration | serverConfiguration |
final Configuration | configuration |
final TokenCallable | pat |
An entry point for managing resources using the Protection API.
|
inlinepackage |
|
inline |
Creates a new resource.
resource | the resource data |
|
inlineprivate |
|
inline |
Deletes a resource with the given id
.
id | the resource id |
|
inline |
Query the server for any resource with the matching arguments.
id | the resource id |
name | the resource name |
uri | the resource uri |
owner | the resource owner |
type | the resource type |
scope | the resource scope |
matchingUri | the resource uri. Use this parameter to lookup a resource that best match the given uri |
firstResult | the position of the first resource to retrieve |
maxResult | the maximum number of resources to retrieve |
|
inlinepackage |
Query the server for any resource with the matching arguments.
id | the resource id |
name | the resource name |
uri | the resource uri |
owner | the resource owner |
type | the resource type |
scope | the resource scope |
matchingUri | the resource uri. Use this parameter to lookup a resource that best match the given uri |
deep | if the result should be a list of resource representations with details about the resource. If false, only ids are returned |
firstResult | the position of the first resource to retrieve |
maxResult | the maximum number of resources to retrieve |
|
inline |
Query the server for all resources.
|
inline |
Query the server for a resource given its id
.
id | the resource id |
|
inline |
Returns a list of resources that best matches the given
. This method queries the server for resources whose ResourceRepresentation#uri best matches the given
.
uri | the resource uri to match |
|
inline |
Query the server for a resource given its name
where the owner is the resource server itself.
name | the resource name |
|
inline |
Query the server for a resource given its name
and a given ownerId
.
name | the resource name |
ownerId | the owner id |
|
inline |
Query the server for all resources with the given uri.
uri | the resource uri |
|
inline |
Updates a resource.
resource | the resource data |
|
private |
|
private |
|
private |
|
private |