public class PdpServiceImpl extends Object implements PdpService, Constants
| Modifier and Type | Field and Description |
|---|---|
protected static String |
X_DISPLAY_NAME |
protected static String |
X_IDP_ENTITY_ID |
protected static String |
X_UNSPECIFIED_NAME_ID |
HTTP_X_IDP_ENTITY_ID| Constructor and Description |
|---|
PdpServiceImpl(String server,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
List<Policy.Attribute> |
allowedAttributes() |
Policy |
create(Policy policy) |
org.springframework.http.ResponseEntity<String> |
delete(Long id) |
boolean |
isAvailable() |
List<Policy> |
policies() |
Policy |
policy(Long id) |
List<Policy> |
revisions(Long id) |
Policy |
update(Policy policy) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthorizationHeaderValue, clientHttpRequestFactory, currentUserIdpprotected static final String X_IDP_ENTITY_ID
protected static final String X_UNSPECIFIED_NAME_ID
protected static final String X_DISPLAY_NAME
public boolean isAvailable()
isAvailable in interface PdpServicepublic List<Policy> policies()
policies in interface PdpServicepublic Policy policy(Long id)
policy in interface PdpServicepublic Policy create(Policy policy)
create in interface PdpServicepublic Policy update(Policy policy)
update in interface PdpServicepublic org.springframework.http.ResponseEntity<String> delete(Long id)
delete in interface PdpServicepublic List<Policy> revisions(Long id)
revisions in interface PdpServicepublic List<Policy.Attribute> allowedAttributes()
allowedAttributes in interface PdpServiceCopyright © 2012–2021 Pivotal Software, Inc.. All rights reserved.