Searched defs:fromJson (Results 26 - 50 of 71) sorted by relevance

123

/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/user/invocation/
H A DUsernameTokenState.java94 public static UsernameTokenState fromJson(JsonValue jsonValue) throws TokenMarshalException{ method in class:UsernameTokenState
101 throw new TokenMarshalException(ResourceException.BAD_REQUEST, "Unsupported charset marshalling fromJson: " + e);
H A DSTSIssuedTokenState.java152 public static STSIssuedTokenState fromJson(JsonValue jsonValue) { method in class:STSIssuedTokenState
/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/service/invocation/
H A DSAML2TokenGenerationState.java156 public static SAML2TokenGenerationState fromJson(JsonValue json) throws TokenMarshalException { method in class:SAML2TokenGenerationState
167 builder.proofTokenState(ProofTokenState.fromJson(proofToken));
H A DOpenIdConnectTokenGenerationState.java149 public static OpenIdConnectTokenGenerationState fromJson(JsonValue json) { method in class:OpenIdConnectTokenGenerationState
H A DTokenGenerationServiceInvocationState.java204 public static TokenGenerationServiceInvocationState fromJson(JsonValue json) throws TokenMarshalException { method in class:TokenGenerationServiceInvocationState
211 ? SAML2TokenGenerationState.fromJson(json.get(SAML2_GENERATION_STATE)) : null)
213 ? OpenIdConnectTokenGenerationState.fromJson(json.get(OPENID_CONNECT_GENERATION_STATE)) : null)
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/config/user/
H A DCustomTokenOperation.java98 public static CustomTokenOperation fromJson(JsonValue json) { method in class:CustomTokenOperation
H A DAuthTargetMapping.java247 static AuthTarget fromJson(JsonValue json) { method in class:AuthTargetMapping.AuthTarget
302 public static AuthTargetMapping fromJson(JsonValue json) throws IllegalStateException { method in class:AuthTargetMapping
305 throw new IllegalArgumentException("JsonValue passed to AuthTargetMapping.fromJson not map. The json: "
310 AuthTarget target = AuthTarget.fromJson(new JsonValue(entry.getValue()));
H A DDeploymentConfig.java199 public static DeploymentConfig fromJson(JsonValue json) { method in class:DeploymentConfig
201 .authTargetMapping(AuthTargetMapping.fromJson(json.get(AUTH_TARGET_MAPPINGS)))
246 return fromJson(new JsonValue(jsonMap));
H A DSTSInstanceConfig.java37 * json-fluent. So a hand-rolled implementation it is. See toJson and fromJson methods.
147 public static STSInstanceConfig fromJson(JsonValue json) { method in class:STSInstanceConfig
151 builder.saml2Config(SAML2Config.fromJson(samlConfig));
156 builder.oidcIdTokenConfig(OpenIdConnectTokenConfig.fromJson(oidcConfig));
194 return fromJson(new JsonValue(jsonAttributes));
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/soap/config/user/
H A DTokenValidationConfig.java103 public static TokenValidationConfig fromJson(JsonValue json) { method in class:TokenValidationConfig
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/user/invocation/
H A DOpenIdConnectTokenCreationState.java116 public static OpenIdConnectTokenCreationState fromJson(JsonValue jsonValue) { method in class:OpenIdConnectTokenCreationState
H A DProofTokenState.java141 public static ProofTokenState fromJson(JsonValue jsonValue) throws TokenMarshalException { method in class:ProofTokenState
H A DRestSTSTokenTranslationInvocationState.java105 public static RestSTSTokenTranslationInvocationState fromJson(JsonValue jsonValue) throws TokenMarshalException { method in class:RestSTSTokenTranslationInvocationState
H A DSAML2TokenCreationState.java89 public static SAML2TokenCreationState fromJson(JsonValue jsonValue) throws TokenMarshalException { method in class:SAML2TokenCreationState
105 builder.proofTokenState(ProofTokenState.fromJson(jsonProofToken));
H A DUsernameTokenState.java94 public static UsernameTokenState fromJson(JsonValue jsonValue) throws TokenMarshalException{ method in class:UsernameTokenState
101 throw new TokenMarshalException(ResourceException.BAD_REQUEST, "Unsupported charset marshalling fromJson: " + e);
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/service/invocation/
H A DSAML2TokenGenerationState.java156 public static SAML2TokenGenerationState fromJson(JsonValue json) throws TokenMarshalException { method in class:SAML2TokenGenerationState
167 builder.proofTokenState(ProofTokenState.fromJson(proofToken));
/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/rest/
H A DScriptResource.java144 .create(fromJson(request.getContent()));
207 .update(fromJson(request.getContent(), resourceId)))));
239 private ScriptConfiguration fromJson(JsonValue jsonValue, String uuid) throws ScriptException { method in class:ScriptResource
262 private ScriptConfiguration fromJson(JsonValue jsonValue) throws ScriptException { method in class:ScriptResource
263 return fromJson(jsonValue, null);
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/config/user/
H A DAuthTargetMapping.java247 static AuthTarget fromJson(JsonValue json) { method in class:AuthTargetMapping.AuthTarget
302 public static AuthTargetMapping fromJson(JsonValue json) throws IllegalStateException { method in class:AuthTargetMapping
305 throw new IllegalArgumentException("JsonValue passed to AuthTargetMapping.fromJson not map. The json: "
310 AuthTarget target = AuthTarget.fromJson(new JsonValue(entry.getValue()));
H A DDeploymentConfig.java196 public static DeploymentConfig fromJson(JsonValue json) { method in class:DeploymentConfig
198 .authTargetMapping(AuthTargetMapping.fromJson(json.get(AUTH_TARGET_MAPPINGS)))
241 return fromJson(new JsonValue(jsonMap));
H A DSTSInstanceConfig.java37 * json-fluent. So a hand-rolled implementation it is. See toJson and fromJson methods.
147 public static STSInstanceConfig fromJson(JsonValue json) { method in class:STSInstanceConfig
151 builder.saml2Config(SAML2Config.fromJson(samlConfig));
156 builder.oidcIdTokenConfig(OpenIdConnectTokenConfig.fromJson(oidcConfig));
194 return fromJson(new JsonValue(jsonAttributes));
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/rest/config/user/
H A DTokenTransformConfig.java136 public static TokenTransformConfig fromJson(JsonValue json) { method in class:TokenTransformConfig
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/soap/config/user/
H A DSoapDelegationConfig.java190 public static SoapDelegationConfig fromJson(JsonValue json) { method in class:SoapDelegationConfig
196 validationConfigs.add(TokenValidationConfig.fromJson(new JsonValue(obj)));
260 return fromJson(new JsonValue(jsonAttributes));
H A DSoapSTSKeystoreConfig.java210 public static SoapSTSKeystoreConfig fromJson(JsonValue json) throws IllegalStateException { method in class:SoapSTSKeystoreConfig
238 return fromJson(new JsonValue(MapMarshallUtils.toJsonValueMap(attributeMap)));
/forgerock/openam/openam-scripting/src/main/java/org/forgerock/openam/scripting/rest/
H A DScriptResource.java203 .create(fromJson(request.getContent()), getContextSubject(context));
310 .update(fromJson(request.getContent(), resourceId), getContextSubject(context)))));
343 private ScriptConfiguration fromJson(JsonValue jsonValue, String uuid) throws ScriptException { method in class:ScriptResource
366 private ScriptConfiguration fromJson(JsonValue jsonValue) throws ScriptException { method in class:ScriptResource
367 return fromJson(jsonValue, null);
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/rest/config/user/
H A DTokenTransformConfig.java136 public static TokenTransformConfig fromJson(JsonValue json) { method in class:TokenTransformConfig

Completed in 129 milliseconds

123