public interface ResourceServer
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceServer.PolicyEnforcementMode
The policy enforcement mode dictates how authorization requests are handled by the server.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId()
Returns the identifier of the client application (which already exists in Keycloak) that is also acting as a resource
server.
|
String |
getId()
Returns the unique identifier for this instance.
|
ResourceServer.PolicyEnforcementMode |
getPolicyEnforcementMode()
Returns the
PolicyEnforcementMode configured for this instance. |
boolean |
isAllowRemoteResourceManagement()
Indicates if the resource server is allowed to manage its own resources remotely using the Protection API.
|
void |
setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement)
Indicates if the resource server is allowed to manage its own resources remotely using the Protection API.
|
void |
setPolicyEnforcementMode(ResourceServer.PolicyEnforcementMode enforcementMode)
Defines a
PolicyEnforcementMode for this instance. |
String getId()
String getClientId()
boolean isAllowRemoteResourceManagement()
true if the resource server is allowed to managed them remotelyvoid setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement)
allowRemoteResourceManagement - true if the resource server is allowed to managed them remotelyResourceServer.PolicyEnforcementMode getPolicyEnforcementMode()
PolicyEnforcementMode configured for this instance.PolicyEnforcementMode configured for this instance.void setPolicyEnforcementMode(ResourceServer.PolicyEnforcementMode enforcementMode)
PolicyEnforcementMode for this instance.enforcementMode - one of the available options in PolicyEnforcementModeCopyright © 2016 JBoss by Red Hat. All rights reserved.