Searched refs:responseCode (Results 1 - 25 of 65) sorted by relevance

123

/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/
H A DHttpURLConnectionWrapperFactory.java57 public HttpURLConnectionWrapper setExpectedResponseCode(int responseCode) { argument
58 expectedResponseCode = responseCode;
91 int responseCode;
104 responseCode = httpURLConnection.getResponseCode();
118 if (responseCode == expectedResponseCode) {
119 return new ConnectionResult(responseCode, getSuccessMessage());
121 return new ConnectionResult(responseCode, getErrorMessage());
H A DHttpURLConnectionWrapper.java61 * @param responseCode The expected response code.
64 HttpURLConnectionWrapper setExpectedResponseCode(int responseCode); argument
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/
H A DHttpURLConnectionWrapperFactory.java57 public HttpURLConnectionWrapper setExpectedResponseCode(int responseCode) { argument
58 expectedResponseCode = responseCode;
91 int responseCode;
104 responseCode = httpURLConnection.getResponseCode();
118 if (responseCode == expectedResponseCode) {
119 return new ConnectionResult(responseCode, getSuccessMessage());
121 return new ConnectionResult(responseCode, getErrorMessage());
H A DHttpURLConnectionWrapper.java61 * @param responseCode The expected response code.
64 HttpURLConnectionWrapper setExpectedResponseCode(int responseCode); argument
/forgerock/openam-v13/openam-tools/openam-installer-utils/src/main/java/org/forgerock/openam/installer/utils/
H A DStatusChecker.java71 int responseCode = conn.getResponseCode();
73 if (responseCode == 200) {
83 } else if (responseCode == 302) {
/forgerock/openam/openam-tools/openam-installer-utils/src/main/java/org/forgerock/openam/installer/utils/
H A DStatusChecker.java71 int responseCode = conn.getResponseCode();
73 if (responseCode == 200) {
83 } else if (responseCode == 302) {
/forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/
H A DRESTUtils.java130 private int responseCode = -1; field in class:RESTUtils.RESTResponse
142 return responseCode;
145 public void setResponseCode(int responseCode) { argument
146 this.responseCode = responseCode;
/forgerock/openam-v13/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/token/validator/disp/
H A DSoapUsernameTokenAuthenticationRequestDispatcher.java64 final int responseCode = connectionResult.getStatusCode();
65 if (responseCode != HttpURLConnection.HTTP_OK) {
66 throw new TokenValidationException(responseCode, "Non-200 response from posting Username token " +
/forgerock/openam/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/token/validator/disp/
H A DSoapUsernameTokenAuthenticationRequestDispatcher.java64 final int responseCode = connectionResult.getStatusCode();
65 if (responseCode != HttpURLConnection.HTTP_OK) {
66 throw new TokenValidationException(responseCode, "Non-200 response from posting Username token " +
/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/provider/
H A DTokenServiceConsumerImpl.java187 final int responseCode = connectionResult.getStatusCode();
188 if (responseCode == HttpURLConnection.HTTP_OK) {
190 } else if (responseCode == HttpURLConnection.HTTP_NOT_FOUND) {
193 throw new TokenValidationException(responseCode, connectionResult.getResult());
209 final int responseCode = connectionResult.getStatusCode();
210 if (responseCode != HttpURLConnection.HTTP_OK) {
211 throw new TokenCancellationException(responseCode, connectionResult.getResult());
228 final int responseCode = connectionResult.getStatusCode();
229 if (responseCode == HttpURLConnection.HTTP_OK || responseCode
[all...]
H A DAMSessionInvalidatorImpl.java89 final int responseCode = connectionResult.getStatusCode();
90 if (responseCode != HttpURLConnection.HTTP_OK) {
91 throw new TokenCreationException(responseCode, "Non-200 response from invalidating session " + sessionId +
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/provider/
H A DTokenServiceConsumerImpl.java187 final int responseCode = connectionResult.getStatusCode();
188 if (responseCode == HttpURLConnection.HTTP_OK) {
190 } else if (responseCode == HttpURLConnection.HTTP_NOT_FOUND) {
193 throw new TokenValidationException(responseCode, connectionResult.getResult());
209 final int responseCode = connectionResult.getStatusCode();
210 if (responseCode != HttpURLConnection.HTTP_OK) {
211 throw new TokenCancellationException(responseCode, connectionResult.getResult());
228 final int responseCode = connectionResult.getStatusCode();
229 if (responseCode == HttpURLConnection.HTTP_OK || responseCode
[all...]
H A DAMSessionInvalidatorImpl.java89 final int responseCode = connectionResult.getStatusCode();
90 if (responseCode != HttpURLConnection.HTTP_OK) {
91 throw new TokenCreationException(responseCode, "Non-200 response from invalidating session " + sessionId +
/forgerock/openam-v13/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/token/validator/disp/
H A DOpenIdConnectAuthenticationRequestDispatcher.java76 final int responseCode = connectionResult.getStatusCode();
77 if (responseCode != HttpURLConnection.HTTP_OK) {
78 throw new TokenValidationException(responseCode, "Non-200 response from posting OIDC token " +
H A DRestUsernameTokenAuthenticationRequestDispatcher.java63 final int responseCode = connectionResult.getStatusCode();
64 if (responseCode != HttpURLConnection.HTTP_OK) {
65 throw new TokenValidationException(responseCode, "Non-200 response from posting Username token " +
/forgerock/openam/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/token/validator/disp/
H A DOpenIdConnectAuthenticationRequestDispatcher.java76 final int responseCode = connectionResult.getStatusCode();
77 if (responseCode != HttpURLConnection.HTTP_OK) {
78 throw new TokenValidationException(responseCode, "Non-200 response from posting OIDC token " +
H A DRestUsernameTokenAuthenticationRequestDispatcher.java63 final int responseCode = connectionResult.getStatusCode();
64 if (responseCode != HttpURLConnection.HTTP_OK) {
65 throw new TokenValidationException(responseCode, "Non-200 response from posting Username token " +
/forgerock/openam/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/audit/
H A DSoapSTSAuditEventPublisher.java93 final int responseCode = connectionResult.getStatusCode();
94 if (responseCode != HTTP_CREATED) {
98 throw new STSPublishException(responseCode, "Failed to record audit event: " + connectionResult.getResult());
/forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/configurator/
H A DPasswordValidator.java186 int responseCode = response.getResponseCode();
187 if (responseCode == HTTP_RESPONSE_OK) {
191 } else if (responseCode ==
216 new Object[] {Integer.valueOf(responseCode)});
225 new Object[] {Integer.valueOf(responseCode)});
306 int responseCode = response.getResponseCode();
307 if (responseCode == HTTP_RESPONSE_OK) {
311 } else if (responseCode ==
334 new Object[] {Integer.valueOf(responseCode)});
342 new Object[] {Integer.valueOf(responseCode)});
[all...]
/forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/configurator/
H A DPasswordValidator.java173 int responseCode;
181 responseCode = response.getResponseCode();
182 if (responseCode == HTTP_RESPONSE_OK) {
187 } else if (responseCode == HTTP_RESPONSE_AUTHENTICATION_FAILED) {
199 + responseCode
202 new Object[] {Integer.valueOf(responseCode)});
271 int responseCode = response.getResponseCode();
272 if (responseCode == HTTP_RESPONSE_OK) {
279 } else if (responseCode == HTTP_RESPONSE_AUTHENTICATION_FAILED) {
292 new Object[] {Integer.valueOf(responseCode)});
[all...]
/forgerock/openam-v13/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/bootstrap/
H A DSoapSTSAccessTokenProviderImpl.java118 final int responseCode = connectionResult.getStatusCode();
119 if (responseCode != HttpURLConnection.HTTP_OK) {
120 throw ResourceException.getException(responseCode, "Non-200 response authenticating against " + authenticateUrl
149 final int responseCode = connectionResult.getStatusCode();
150 if (responseCode != HttpURLConnection.HTTP_OK) {
H A DSoapSTSAgentConfigAccessImpl.java84 final int responseCode = connectionResult.getStatusCode();
85 if (responseCode == HttpURLConnection.HTTP_OK) {
88 throw ResourceException.getException(responseCode,
/forgerock/openam/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/bootstrap/
H A DSoapSTSAccessTokenProviderImpl.java135 final int responseCode = connectionResult.getStatusCode();
136 if (responseCode != HttpURLConnection.HTTP_OK) {
137 throw ResourceException.getException(responseCode, "Non-200 response authenticating against " + authenticateUrl
172 final int responseCode = connectionResult.getStatusCode();
173 if (responseCode != HttpURLConnection.HTTP_OK) {
/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/validator/
H A DPrincipalFromSessionImpl.java102 final int responseCode = connectionResult.getStatusCode();
103 if (responseCode != HttpURLConnection.HTTP_OK) {
104 throw new TokenValidationException(responseCode, "Non-200 response from posting principal from session request: "
/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/validator/disp/
H A DCertificateAuthenticationRequestDispatcher.java108 final int responseCode = connectionResult.getStatusCode();
109 if (responseCode != HttpURLConnection.HTTP_OK) {
110 throw new TokenValidationException(responseCode, "Non-200 response from posting x509 token " +

Completed in 39 milliseconds

123