Searched defs:clientSecret (Results 1 - 21 of 21) sorted by relevance

/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DClientCredentials.java28 private final char[] clientSecret; field in class:ClientCredentials
36 * @param clientSecret The client's secret.
41 public ClientCredentials(final String clientId, final char[] clientSecret, final boolean isAuthenticated, argument
44 this.clientSecret = clientSecret;
67 return clientSecret;
89 if (!Arrays.equals(clientSecret, that.clientSecret)) return false;
100 result = 31 * result + Arrays.hashCode(clientSecret);
H A DClientAuthenticatorImpl.java128 * @param clientSecret The client's secret.
134 private boolean authenticate(OAuth2Request request, String clientId, char[] clientSecret, String realm) throws InvalidClientException { argument
149 pc.setPassword(clientSecret);
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DClientCredentials.java28 private final char[] clientSecret; field in class:ClientCredentials
36 * @param clientSecret The client's secret.
41 public ClientCredentials(final String clientId, final char[] clientSecret, final boolean isAuthenticated, argument
44 this.clientSecret = clientSecret;
67 return clientSecret;
89 if (!Arrays.equals(clientSecret, that.clientSecret)) return false;
100 result = 31 * result + Arrays.hashCode(clientSecret);
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DClientAuthenticator.java143 * @param clientSecret The client's secret.
149 private boolean authenticate(OAuth2Request request, String clientId, char[] clientSecret, String realm) argument
168 pc.setPassword(clientSecret);
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/openidconnect/
H A DOpenAMOpenIdConnectToken.java37 * @param clientSecret The client's secret.
55 public OpenAMOpenIdConnectToken(String kid, byte[] clientSecret, KeyPair keyPair, String algorithm, String iss, argument
58 super(kid, clientSecret, keyPair, algorithm, iss, sub, aud, azp, exp, iat, authTime,
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DIdTokenClaimGatherer.java85 byte[] clientSecret = clientRegistrationStore.get(authorizationApiToken.getClientId(), oAuth2Request)
95 if (!verify(clientSecret, keyPair, idToken)) {
119 private boolean verify(byte[] clientSecret, KeyPair keyPair, SignedJwt signedJwt) { argument
125 signingHandler = signingManager.newHmacSigningHandler(clientSecret);
/forgerock/openam/openam-authentication/openam-auth-oidc/src/main/java/org/forgerock/openam/authentication/modules/oidc/
H A DJwtHandlerConfig.java42 protected final String clientSecret; field in class:JwtHandlerConfig
49 clientSecret = CollectionHelper.getMapAttr(options, KEY_CLIENT_SECRET);
84 return clientSecret;
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DIdTokenClaimGatherer.java86 byte[] clientSecret = clientRegistrationStore.get(authorizationApiToken.getClientId(), oAuth2Request)
96 if (!verify(clientSecret, keyPair, idToken)) {
120 private boolean verify(byte[] clientSecret, KeyPair keyPair, SignedJwt signedJwt) { argument
126 signingHandler = signingManager.newHmacSigningHandler(clientSecret);
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/test/java/org/forgerock/oauth2/core/
H A DDeviceCodeGrantTypeHandlerTest.java177 public void shouldCatchInvalidParameters(String clientId, String clientSecret, String code) throws Exception { argument
180 mockRequestRealmClientIdClientSecretAndCode("REALM", clientId, clientSecret, code, scope);
302 private void mockRequestRealmClientIdClientSecretAndCode(String realm, String clientId, String clientSecret, argument
306 given(request.getParameter(CLIENT_SECRET)).willReturn(clientSecret);
/forgerock/openam-v13/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/oidc/
H A DOpenIdConnectTokenGenerationImpl.java185 byte[] clientSecret) throws TokenCreationException {
191 final SigningHandler signingHandler = new SigningManager().newHmacSigningHandler(clientSecret);
184 symmetricSign(STSOpenIdConnectToken openIdConnectToken, JwsAlgorithm jwsAlgorithm, byte[] clientSecret) argument
/forgerock/openam/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/oidc/
H A DOpenIdConnectTokenGenerationImpl.java185 byte[] clientSecret) throws TokenCreationException {
191 final SigningHandler signingHandler = new SigningManager().newHmacSigningHandler(clientSecret);
184 symmetricSign(STSOpenIdConnectToken openIdConnectToken, JwsAlgorithm jwsAlgorithm, byte[] clientSecret) argument
/forgerock/openam-v13/openam-oauth2-common/openid-connect-core/src/main/java/org/forgerock/openidconnect/
H A DClientBuilder.java43 private String clientSecret; field in class:ClientBuilder
213 * @param clientSecret The client's secret.
215 public ClientBuilder setClientSecret(String clientSecret) { argument
216 this.clientSecret = clientSecret;
358 accessToken, clientSessionURI, applicationType, clientSecret, responseTypes, contacts, defaultMaxAge,
H A DOpenIdConnectToken.java51 private final byte[] clientSecret; field in class:OpenIdConnectToken
60 * @param clientSecret The client's secret.
77 public OpenIdConnectToken(String kid, byte[] clientSecret, KeyPair keyPair, String algorithm, String iss, argument
81 this.clientSecret = clientSecret;
308 signingHandler = new SigningManager().newHmacSigningHandler(clientSecret);
H A DClient.java330 * @param clientSecret The client secret of the client.
350 String clientSecret, List<String> responseTypes, List<String> contacts, Long defaultMaxAge,
369 setClientSecret(clientSecret);
853 * @param clientSecret The client's secret.
855 public void setClientSecret(String clientSecret) { argument
856 if (clientSecret != null && !clientSecret.isEmpty()) {
857 put(OAuth2Constants.ShortClientAttributeNames.CLIENT_SECRET.getType(), clientSecret);
346 Client(String clientID, String clientType, List<String> redirectionURIs, List<String> allowedGrantScopes, List<String> defaultGrantScopes, List<String> displayName, List<String> displayDescription, List<String> clientName, String subjectType, String idTokenSignedResponseAlgorithm, List<String> postLogoutRedirectionURIs, String accessToken, String clientSessionURI, String applicationType, String clientSecret, List<String> responseTypes, List<String> contacts, Long defaultMaxAge, Boolean defaultMaxAgeEnabled, String tokenEndpointAuthMethod, String jwks, String jwksUri, String x509, String selector, String sectorIdUri, Long authorizationCodeLifeTime, Long accessTokenLifeTime, Long refreshTokenLifeTime, Long jwtTokenLifeTime) argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openidconnect/
H A DClientBuilder.java43 private String clientSecret; field in class:ClientBuilder
213 * @param clientSecret The client's secret.
215 public ClientBuilder setClientSecret(String clientSecret) { argument
216 this.clientSecret = clientSecret;
358 accessToken, clientSessionURI, applicationType, clientSecret, responseTypes, contacts, defaultMaxAge,
H A DOpenIdConnectToken.java62 private final byte[] clientSecret; field in class:OpenIdConnectToken
77 * @param clientSecret The client's secret.
100 public OpenIdConnectToken(String signingKeyId, String encryptionKeyId, byte[] clientSecret, KeyPair signingKeyPair, argument
106 this.clientSecret = clientSecret;
136 this.clientSecret = null;
408 signingHandler = new SigningManager().newHmacSigningHandler(clientSecret);
H A DClient.java330 * @param clientSecret The client secret of the client.
350 String clientSecret, List<String> responseTypes, List<String> contacts, Long defaultMaxAge,
369 setClientSecret(clientSecret);
853 * @param clientSecret The client's secret.
855 public void setClientSecret(String clientSecret) { argument
856 if (clientSecret != null && !clientSecret.isEmpty()) {
857 put(OAuth2Constants.ShortClientAttributeNames.CLIENT_SECRET.getType(), clientSecret);
346 Client(String clientID, String clientType, List<String> redirectionURIs, List<String> allowedGrantScopes, List<String> defaultGrantScopes, List<String> displayName, List<String> displayDescription, List<String> clientName, String subjectType, String idTokenSignedResponseAlgorithm, List<String> postLogoutRedirectionURIs, String accessToken, String clientSessionURI, String applicationType, String clientSecret, List<String> responseTypes, List<String> contacts, Long defaultMaxAge, Boolean defaultMaxAgeEnabled, String tokenEndpointAuthMethod, String jwks, String jwksUri, String x509, String selector, String sectorIdUri, Long authorizationCodeLifeTime, Long accessTokenLifeTime, Long refreshTokenLifeTime, Long jwtTokenLifeTime) argument
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/config/user/
H A DOpenIdConnectTokenConfig.java68 private byte[] clientSecret; field in class:OpenIdConnectTokenConfig.OIDCIdTokenConfigBuilder
163 public OIDCIdTokenConfigBuilder clientSecret(byte[] clientSecret) { argument
164 this.clientSecret = clientSecret;
249 private final byte[] clientSecret; field in class:OpenIdConnectTokenConfig
272 this.clientSecret = builder.clientSecret;
295 if (clientSecret == null) {
354 return clientSecret;
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-oauth2/src/main/java/org/forgerock/openam/authentication/modules/oauth2/
H A DOAuthConf.java56 private String clientSecret = null; field in class:OAuthConf
89 clientSecret = CollectionHelper.getMapAttr(config, KEY_CLIENT_SECRET);
277 + param(PARAM_CLIENT_SECRET, clientSecret)
312 if (clientSecret == null || clientSecret.isEmpty()){
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/config/user/
H A DOpenIdConnectTokenConfig.java69 private byte[] clientSecret; field in class:OpenIdConnectTokenConfig.OIDCIdTokenConfigBuilder
164 public OIDCIdTokenConfigBuilder clientSecret(byte[] clientSecret) { argument
165 this.clientSecret = clientSecret;
250 private final byte[] clientSecret; field in class:OpenIdConnectTokenConfig
273 this.clientSecret = builder.clientSecret;
296 if (clientSecret == null) {
355 return clientSecret;
[all...]
/forgerock/openam/openam-authentication/openam-auth-oauth2/src/main/java/org/forgerock/openam/authentication/modules/oauth2/
H A DOAuthConf.java61 private String clientSecret = null; field in class:OAuthConf
94 clientSecret = CollectionHelper.getMapAttr(config, KEY_CLIENT_SECRET);
283 postParameters.put(PARAM_CLIENT_SECRET, clientSecret);
308 if (clientSecret == null || clientSecret.isEmpty()){

Completed in 1877 milliseconds