Searched refs:callingSubject (Results 1 - 9 of 9) sorted by relevance

/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/
H A DApplicationV1Filter.java173 final Subject callingSubject = contextHelper.getSubject(context);
183 callingSubject, realm);
201 return resourceTypeService.saveResourceType(callingSubject, realm, resourceType);
267 final Subject callingSubject = contextHelper.getSubject(context);
271 final ApplicationService applicationService = applicationServiceFactory.create(callingSubject, pathRealm);
285 ResourceType resourceType = resourceTypeService.getResourceType(callingSubject, pathRealm, resourceTypeUuid);
306 resourceTypeService.updateResourceType(callingSubject, pathRealm, resourceType);
H A DApplicationV1FilterTransformer.java66 * @param callingSubject
74 public void transformJson(final JsonValue jsonValue, final Subject callingSubject, final String realm) argument
87 .getResourceType(callingSubject, realm, resourceTypeUuid);
117 Subject callingSubject = contextHelper.getSubject(context);
121 transformJson(jsonValue, callingSubject, realm);
149 Subject callingSubject = contextHelper.getSubject(context);
154 transformJson(jsonValue, callingSubject, realm);
H A DApplicationsResource.java144 final Subject callingSubject = getContextSubject(context);
146 if (callingSubject == null) {
154 final String principalName = PrincipalRestUtils.getPrincipalNameFromSubject(callingSubject);
161 wrapp = createApplicationWrapper(creationRequest, callingSubject);
186 previousApp = appManager.getApplication(callingSubject, realm, appName);
192 appManager.saveApplication(callingSubject, realm, wrapp.getApplication());
193 Application savedApp = appManager.getApplication(callingSubject, realm, appName);
283 final Subject callingSubject = getContextSubject(context);
285 if (callingSubject == null) {
291 final String principalName = PrincipalRestUtils.getPrincipalNameFromSubject(callingSubject);
[all...]
H A DPolicyV1Filter.java119 final Subject callingSubject = contextHelper.getSubject(context);
122 retrieveResourceType(jsonValue, callingSubject, realm);
151 final Subject callingSubject = contextHelper.getSubject(context);
154 retrieveResourceType(jsonValue, callingSubject, realm);
173 * @param callingSubject
183 private void retrieveResourceType(JsonValue jsonValue, Subject callingSubject, String realm) throws EntitlementException, ResourceException { argument
191 final ApplicationService applicationService = applicationServiceFactory.create(callingSubject, realm);
H A DResourceTypesResource.java183 final Subject callingSubject = getSubject(context);
185 principalName = PrincipalRestUtils.getPrincipalNameFromSubject(callingSubject);
187 resourceTypeService.deleteResourceType(callingSubject, realm, resourceId);
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/
H A DApplicationV1Filter.java176 final Subject callingSubject = contextHelper.getSubject(context);
186 callingSubject, realm);
204 return resourceTypeService.saveResourceType(callingSubject, realm, resourceType);
270 final Subject callingSubject = contextHelper.getSubject(context);
274 final ApplicationService applicationService = applicationServiceFactory.create(callingSubject, pathRealm);
288 ResourceType resourceType = resourceTypeService.getResourceType(callingSubject, pathRealm, resourceTypeUuid);
309 resourceTypeService.updateResourceType(callingSubject, pathRealm, resourceType);
H A DApplicationV1FilterTransformer.java66 * @param callingSubject
74 public void transformJson(final JsonValue jsonValue, final Subject callingSubject, final String realm) argument
87 .getResourceType(callingSubject, realm, resourceTypeUuid);
118 Subject callingSubject = contextHelper.getSubject(context);
122 transformJson(jsonValue, callingSubject, realm);
150 Subject callingSubject = contextHelper.getSubject(context);
155 transformJson(jsonValue, callingSubject, realm);
H A DPolicyV1Filter.java119 final Subject callingSubject = contextHelper.getSubject(context);
122 retrieveResourceType(jsonValue, callingSubject, realm);
151 final Subject callingSubject = contextHelper.getSubject(context);
154 retrieveResourceType(jsonValue, callingSubject, realm);
173 * @param callingSubject
183 private void retrieveResourceType(JsonValue jsonValue, Subject callingSubject, String realm) throws EntitlementException, ResourceException { argument
191 final ApplicationService applicationService = applicationServiceFactory.create(callingSubject, realm);
H A DResourceTypesResource.java226 final Subject callingSubject = getSubject(context);
228 principalName = PrincipalRestUtils.getPrincipalNameFromSubject(callingSubject);
230 resourceTypeService.deleteResourceType(callingSubject, realm, resourceId);

Completed in 101 milliseconds