Searched defs:jsonValue (Results 1 - 25 of 77) sorted by relevance

1234

/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/
H A DNoopAuditApi.java35 * @param jsonValue {@inheritDoc}
38 public void audit(JsonValue jsonValue) { argument
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/
H A DNoopAuditApi.java35 * @param jsonValue {@inheritDoc}
38 public void audit(JsonValue jsonValue) { argument
/forgerock/openam-v13/openam-tokens/src/main/java/org/forgerock/openam/tokens/
H A DJsonValueToJsonBytesConverter.java48 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 DJsonUtils.java45 * 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 DJsonUtils.java45 * 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 DJsonValueToJsonBytesConverter.java48 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 DMailService.java92 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 DJsonUtils.java45 * 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 DJsonValueBuilder.java43 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 DX509TokenState.java35 public static X509TokenState fromJson(JsonValue jsonValue) throws TokenMarshalException { argument
H A DOpenAMTokenState.java94 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 DOpenIdConnectTokenState.java96 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 DRestSTSTokenCancellationInvocationState.java100 * @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 DRestSTSTokenValidationInvocationState.java117 * @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 DSAML2TokenState.java94 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 DAuthenticatorFactory.java56 * @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 DJsonValueEncoder.java38 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 DMailService.java92 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 DJsonUtils.java45 * 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 DJsonValueBuilder.java45 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 DX509TokenState.java35 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 DDeviceJsonUtils.java61 * @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 DAMAuditEventBuilderUtils.java55 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 DJsonConversionUtils.java56 * @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 DApplicationV1FilterTransformer.java64 * @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...]

Completed in 378 milliseconds

1234