/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/ |
H A D | NoopAuditApi.java | 35 * @param jsonValue {@inheritDoc} 38 public void audit(JsonValue jsonValue) { argument
|
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/ |
H A D | NoopAuditApi.java | 35 * @param jsonValue {@inheritDoc} 38 public void audit(JsonValue jsonValue) { argument
|
/forgerock/openam-v13/openam-tokens/src/main/java/org/forgerock/openam/tokens/ |
H A D | JsonValueToJsonBytesConverter.java | 48 public byte[] convertFrom(JsonValue jsonValue) { argument 50 return mapper.writeValueAsBytes(jsonValue.getObject());
|
/forgerock/openam-v13/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/ |
H A D | JsonUtils.java | 45 * Asserts that provided jsonValue matches json in referenced classpath file. 47 * @param jsonValue JsonValue to be checked. 51 public static void assertJsonValue(JsonValue jsonValue, String resourceFilePath) throws IOException { argument 53 jsonValue.toString()
|
/forgerock/openam/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/ |
H A D | JsonUtils.java | 45 * Asserts that provided jsonValue matches json in referenced classpath file. 47 * @param jsonValue JsonValue to be checked. 51 public static void assertJsonValue(JsonValue jsonValue, String resourceFilePath) throws IOException { argument 53 jsonValue.toString()
|
/forgerock/openam/openam-tokens/src/main/java/org/forgerock/openam/tokens/ |
H A D | JsonValueToJsonBytesConverter.java | 48 public byte[] convertFrom(JsonValue jsonValue) { argument 50 return mapper.writeValueAsBytes(jsonValue.getObject());
|
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/services/ |
H A D | MailService.java | 92 private JsonValue sendEmail(String realm, JsonValue jsonValue) throws ResourceException { argument 93 String to = jsonValue.get("to").asString(); 99 String mimeType = jsonValue.get("type").asString(); 105 String subject = jsonValue.get("subject").asString(); 106 String body = jsonValue.get("body").asString();
|
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/fluent/ |
H A D | JsonUtils.java | 45 * Asserts that provided jsonValue matches json in referenced classpath file. 47 * @param jsonValue JsonValue to be checked. 51 public static void assertJsonValue(JsonValue jsonValue, String resourceFilePath) throws IOException { argument 53 jsonValue.toString()
|
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/utils/ |
H A D | JsonValueBuilder.java | 43 public static JsonObject jsonValue() { method in class:JsonValueBuilder
|
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/user/invocation/ |
H A D | X509TokenState.java | 35 public static X509TokenState fromJson(JsonValue jsonValue) throws TokenMarshalException { argument
|
H A D | OpenAMTokenState.java | 94 public static OpenAMTokenState fromJson(JsonValue jsonValue) throws TokenMarshalException { argument 95 if (!jsonValue.get(AMSTSConstants.TOKEN_TYPE_KEY).isString() || 96 !TokenType.OPENAM.name().equals(jsonValue.get(AMSTSConstants.TOKEN_TYPE_KEY).asString())) { 97 throw new TokenMarshalException(ResourceException.INTERNAL_ERROR, "passed-in jsonValue does not have " + 98 AMSTSConstants.TOKEN_TYPE_KEY + " field which matches the OpenAM token type: " + jsonValue); 100 final JsonValue jsonSessionId = jsonValue.get(AMSTSConstants.AM_SESSION_TOKEN_SESSION_ID); 102 throw new TokenMarshalException(ResourceException.INTERNAL_ERROR, "passed-in jsonValue does not have " + 103 AMSTSConstants.AM_SESSION_TOKEN_SESSION_ID + " field: " + jsonValue); 107 throw new TokenMarshalException(ResourceException.INTERNAL_ERROR, "passed-in jsonValue does not have a non-empty " + 108 AMSTSConstants.AM_SESSION_TOKEN_SESSION_ID + " field: " + jsonValue); [all...] |
H A D | OpenIdConnectTokenState.java | 96 public static OpenIdConnectTokenState fromJson(JsonValue jsonValue) throws TokenMarshalException { argument 99 .tokenValue(jsonValue.get(AMSTSConstants.OPEN_ID_CONNECT_ID_TOKEN_KEY).asString()) 103 " not set in json: " + jsonValue.toString(), e);
|
H A D | RestSTSTokenCancellationInvocationState.java | 100 * @param jsonValue the json representation of token cancellation invocation state, compliant with the json emitted by 102 * @return the RestSTSTokenCancellationInvocationState instance corresponding to the jsonValue parameter 105 public static RestSTSTokenCancellationInvocationState fromJson(JsonValue jsonValue) throws TokenMarshalException { argument 107 .cancelledTokenState(jsonValue.get(CANCELLED_TOKEN_STATE))
|
H A D | RestSTSTokenValidationInvocationState.java | 117 * @param jsonValue the json representation of token validation invocation state, compliant with the json emitted by 119 * @return the RestSTSTokenValidationInvocationState instance corresponding to the jsonValue parameter 122 public static RestSTSTokenValidationInvocationState fromJson(JsonValue jsonValue) throws TokenMarshalException { argument 124 .validatedTokenState(jsonValue.get(VALIDATED_TOKEN_STATE))
|
H A D | SAML2TokenState.java | 94 public static SAML2TokenState fromJson(JsonValue jsonValue) throws TokenMarshalException { argument 97 .tokenValue(jsonValue.get(AMSTSConstants.SAML2_TOKEN_KEY).asString()) 101 " not set in json: " + jsonValue.toString(), e);
|
/forgerock/openidm-v4/openidm-authnfilter/src/main/java/org/forgerock/openidm/auth/ |
H A D | AuthenticatorFactory.java | 56 * @param jsonValue the auth module properties 61 public Authenticator apply(JsonValue jsonValue) { argument 62 if (!jsonValue.get(QUERY_ID).isNull()) { 64 jsonValue.get(QUERY_ON_RESOURCE).required().asString(), 65 jsonValue.get(QUERY_ID).required().asString(), 66 jsonValue.get(PROPERTY_MAPPING).get(AUTHENTICATION_ID).required().asString(), 67 jsonValue.get(PROPERTY_MAPPING).get(USER_CREDENTIAL).required().asString(), 68 jsonValue.get(PROPERTY_MAPPING).get(USER_ROLES).asString()); 69 } else if (!jsonValue.get(USERNAME_PROPERTY).isNull() 70 && !jsonValue [all...] |
/forgerock/openam/openam-notifications-websocket/src/main/java/org/forgerock/openam/notifications/websocket/ |
H A D | JsonValueEncoder.java | 38 public String encode(JsonValue jsonValue) throws EncodeException { argument 40 return MAPPER.writeValueAsString(jsonValue.getObject()); 42 throw new EncodeException(jsonValue, "Failed to write object out to JSON", e);
|
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/services/ |
H A D | MailService.java | 92 private JsonValue sendEmail(String realm, JsonValue jsonValue) throws ResourceException { argument 93 String to = jsonValue.get("to").asString(); 99 String mimeType = jsonValue.get("type").asString(); 105 String subject = jsonValue.get("subject").asString(); 106 String body = jsonValue.get("body").asString();
|
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/fluent/ |
H A D | JsonUtils.java | 45 * Asserts that provided jsonValue matches json in referenced classpath file. 47 * @param jsonValue JsonValue to be checked. 51 public static void assertJsonValue(JsonValue jsonValue, String resourceFilePath) throws IOException { argument 53 jsonValue.toString()
|
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/utils/ |
H A D | JsonValueBuilder.java | 45 public static JsonObject jsonValue() { method in class:JsonValueBuilder
|
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/user/invocation/ |
H A D | X509TokenState.java | 35 public static X509TokenState fromJson(JsonValue jsonValue) throws TokenMarshalException { argument
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/ |
H A D | DeviceJsonUtils.java | 61 * @param jsonValue The {@link JsonValue} to convert. 66 public T toDeviceSettingValue(JsonValue jsonValue) throws IOException { argument 67 return JsonValueBuilder.getObjectMapper().readValue(jsonValue.toString(), classType);
|
/forgerock/openam-v13/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/ |
H A D | AMAuditEventBuilderUtils.java | 55 static void putComponent(JsonValue jsonValue, String value) { argument 56 jsonValue.put(COMPONENT, value); 64 static void putRealm(JsonValue jsonValue, String value) { argument 65 jsonValue.put(EVENT_REALM, value);
|
/forgerock/openam-v13/openam-authentication/openam-auth-fr-oath/src/main/java/org/forgerock/openam/authentication/modules/fr/oath/ |
H A D | JsonConversionUtils.java | 56 * @param jsonValue The {@link JsonValue} to convert. 61 public static OathDeviceSettings toOathDeviceSettingValue(JsonValue jsonValue) throws IOException { argument 62 return mapper.readValue(jsonValue.toString(), OathDeviceSettings.class);
|
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/ |
H A D | ApplicationV1FilterTransformer.java | 64 * @param jsonValue 74 public void transformJson(final JsonValue jsonValue, final Subject callingSubject, final String realm) argument 80 final Set<String> resourceTypeUuids = jsonValue 97 jsonValue.remove(RESOURCE_TYPE_UUIDS); 98 jsonValue.add(ACTIONS, actions); 99 jsonValue.add(RESOURCES, resources); 100 jsonValue.add(REALM, realm); 116 JsonValue jsonValue = response.getContent(); 121 transformJson(jsonValue, callingSubject, realm); 153 final JsonValue jsonValue [all...] |