/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/ |
H A D | HttpURLConnectionWrapperFactory.java | 57 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 D | HttpURLConnectionWrapper.java | 61 * @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 D | HttpURLConnectionWrapperFactory.java | 57 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 D | HttpURLConnectionWrapper.java | 61 * @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 D | StatusChecker.java | 71 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 D | StatusChecker.java | 71 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 D | RESTUtils.java | 130 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 D | SoapUsernameTokenAuthenticationRequestDispatcher.java | 64 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 D | SoapUsernameTokenAuthenticationRequestDispatcher.java | 64 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 D | TokenServiceConsumerImpl.java | 187 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 D | AMSessionInvalidatorImpl.java | 89 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 D | TokenServiceConsumerImpl.java | 187 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 D | AMSessionInvalidatorImpl.java | 89 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 D | OpenIdConnectAuthenticationRequestDispatcher.java | 76 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 D | RestUsernameTokenAuthenticationRequestDispatcher.java | 63 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 D | OpenIdConnectAuthenticationRequestDispatcher.java | 76 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 D | RestUsernameTokenAuthenticationRequestDispatcher.java | 63 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 D | SoapSTSAuditEventPublisher.java | 93 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 D | PasswordValidator.java | 186 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 D | PasswordValidator.java | 173 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 D | SoapSTSAccessTokenProviderImpl.java | 118 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 D | SoapSTSAgentConfigAccessImpl.java | 84 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 D | SoapSTSAccessTokenProviderImpl.java | 135 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 D | PrincipalFromSessionImpl.java | 102 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 D | CertificateAuthenticationRequestDispatcher.java | 108 final int responseCode = connectionResult.getStatusCode(); 109 if (responseCode != HttpURLConnection.HTTP_OK) { 110 throw new TokenValidationException(responseCode, "Non-200 response from posting x509 token " +
|