Searched defs:endpoint (Results 1 - 25 of 44) sorted by relevance

12

/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DClientAuthenticator.java36 * @param endpoint The endpoint being authenticated for.
43 ClientRegistration authenticate(OAuth2Request request, String endpoint) throws InvalidClientException, argument
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DClientCredentialsReader.java60 * @param endpoint The endpoint this request should be for, or null to disable audience verification.
65 public ClientCredentials extractCredentials(OAuth2Request request, String endpoint) throws InvalidRequestException, argument
79 client = verifyJwtBearer(request, basicAuth, endpoint);
114 //if we're accessing the token endpoint, check we're authenticating using the appropriate method
118 throw failureFactory.getException(request, "Invalid authentication method for accessing this endpoint.");
124 private ClientCredentials verifyJwtBearer(OAuth2Request request, boolean basicAuth, String endpoint) argument
144 if (endpoint != null && !jwt.isIntendedForAudience(endpoint)) {
H A DClientAuthenticatorImpl.java84 public ClientRegistration authenticate(OAuth2Request request, String endpoint) throws InvalidClientException, argument
88 clientCredentialsReader.extractCredentials(request, endpoint);
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/utils/
H A DMessageUtils.java43 * Used to respond to a given message ID at a given endpoint.
44 * @param endpoint The endpoint to respond to.
51 public int respond(String endpoint, String amlbCookie, String base64Secret, argument
57 URL url = new URL(endpoint);
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DClientCredentialsReader.java60 * @param endpoint The endpoint this request should be for, or null to disable audience verification.
65 public ClientCredentials extractCredentials(OAuth2Request request, String endpoint) throws InvalidRequestException, argument
79 client = verifyJwtBearer(request, basicAuth, endpoint);
114 //if we're accessing the token endpoint, check we're authenticating using the appropriate method
118 throw failureFactory.getException(request, "Invalid authentication method for accessing this endpoint.");
124 private ClientCredentials verifyJwtBearer(OAuth2Request request, boolean basicAuth, String endpoint) argument
144 if (endpoint != null && !jwt.isIntendedForAudience(endpoint)) {
/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/
H A DUmaWellKnownConfigurationEndpointTest.java45 private UmaWellKnownConfigurationEndpoint endpoint; field in class:UmaWellKnownConfigurationEndpointTest
63 endpoint = new UmaWellKnownConfigurationEndpoint(umaUrisFactory, providerSettingsFactory, exceptionHandler,
67 endpoint.setResponse(response);
112 Representation configuration = endpoint.getConfiguration();
140 Representation configuration = endpoint.getConfiguration();
172 endpoint.getConfiguration();
H A DPermissionRequestEndpointTest.java59 private PermissionRequestEndpoint endpoint; field in class:PermissionRequestEndpointTest
93 endpoint = spy(new PermissionRequestEndpoint(providerSettingFactory, requestFactory,
97 endpoint.setResponse(response);
100 given(endpoint.getRequest()).willReturn(request);
126 endpoint.registerPermissionRequest(null);
148 endpoint.registerPermissionRequest(entity);
170 endpoint.registerPermissionRequest(entity);
195 endpoint.registerPermissionRequest(entity);
220 endpoint.registerPermissionRequest(entity);
245 endpoint
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DClientAuthenticator.java89 * @param endpoint The endpoint being authenticated for.
96 public ClientRegistration authenticate(OAuth2Request request, String endpoint) throws InvalidClientException, argument
100 clientCredentialsReader.extractCredentials(request, endpoint);
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/org/forgerock/openam/cli/entitlement/
H A DJsonResourceCommand.java83 * Sends the given request to the passed endpoint.
87 * @param endpoint
88 * endpoint
95 protected final Response sendRequest(Request request, String endpoint) throws CLIException { argument
103 if (endpoint.startsWith("/")) {
104 endpoint = endpoint.substring(1);
107 StringBuilder restUrl = new StringBuilder(serverUrl).append("/json/").append(endpoint);
H A DPolicyExport.java122 private Response queryForAllResources(ModelDescriptor endpoint) throws CLIException { argument
124 String queryEndpoint = endpoint.getEndpointIdentifier() + "?_queryFilter=true";
/forgerock/openam/openam-uma/src/test/java/org/forgerock/openam/uma/
H A DUmaWellKnownConfigurationEndpointTest.java45 private UmaWellKnownConfigurationEndpoint endpoint; field in class:UmaWellKnownConfigurationEndpointTest
63 endpoint = new UmaWellKnownConfigurationEndpoint(umaUrisFactory, providerSettingsFactory, exceptionHandler,
67 endpoint.setResponse(response);
112 Representation configuration = endpoint.getConfiguration();
140 Representation configuration = endpoint.getConfiguration();
172 endpoint.getConfiguration();
H A DPermissionRequestEndpointTest.java57 private PermissionRequestEndpoint endpoint; field in class:PermissionRequestEndpointTest
91 endpoint = spy(new PermissionRequestEndpoint(providerSettingFactory, requestFactory,
95 endpoint.setResponse(response);
98 given(endpoint.getRequest()).willReturn(request);
124 endpoint.registerPermissionRequest(null);
146 endpoint.registerPermissionRequest(entity);
168 endpoint.registerPermissionRequest(entity);
193 endpoint.registerPermissionRequest(entity);
218 endpoint.registerPermissionRequest(entity);
243 endpoint
[all...]
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/mechanisms/push/
H A DPush.java36 private String endpoint; field in class:Push
39 private Push(Identity owner, long id, String mechanismUID, String secret, String endpoint) { argument
41 this.endpoint = endpoint;
59 * Get the endpoint that is used by this Push mechanism.
60 * @return The endpoint to return messages to.
63 return endpoint;
77 result.put(PushAuthMapper.AUTH_ENDPOINT_KEY, endpoint);
91 private String endpoint; field in class:Push.PushBuilder
95 * Set the endpoint tha
99 setAuthEndpoint(String endpoint) argument
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/
H A DClient.java100 * Sends a request to a SOAP endpoint and returns the response. The server
102 * endpoint URL has format 'servlet_URL/key'
105 * @param connectTo the SOAP endpoint URL
106 * @return a response from the SOAP endpoint
117 * Sends a request to a SOAP endpoint and returns the response. The server
119 * endpoint URL has format 'servlet_URL/key'.
122 * @param connectTo the SOAP endpoint URL
125 * @return a response from the SOAP endpoint
136 * Sends a request to a SOAP endpoint and returns the response. The server
138 * endpoint UR
251 getConnection(String endpoint,String certAlias) argument
[all...]
H A DServiceInstanceUpdateHeader.java53 private String endpoint = null; field in class:ServiceInstanceUpdateHeader
95 if (!credentials.isEmpty() || endpoint != null) {
107 if (endpoint != null) {
116 if (endpoint != null) {
121 endpoint = XMLUtils.getElementValue(childElement);
176 return endpoint;
237 * @param endpoint value of <code>Endpoint</code> element.
239 public void setEndpoint(String endpoint) { argument
240 this.endpoint = endpoint;
[all...]
/forgerock/openam-v13/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/resources/
H A DResourceSetRegistrationEndpointTest.java91 private ResourceSetRegistrationEndpoint endpoint; field in class:ResourceSetRegistrationEndpointTest
127 endpoint = spy(new ResourceSetRegistrationEndpoint(providerSettingsFactory, validator, requestFactory,
135 given(endpoint.getRequest()).willReturn(request);
142 given(endpoint.getResponse()).willReturn(response);
152 given(endpoint.getRequestAttributes()).willReturn(requestAttributes);
157 given(endpoint.getRequestAttributes()).willReturn(requestAttributes);
163 given(endpoint.getConditions()).willReturn(conditions);
169 given(endpoint.getConditions()).willReturn(conditions);
219 Representation response = endpoint.createResourceSet(entity);
256 Representation result = endpoint
[all...]
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/resources/
H A DResourceSetRegistrationEndpointTest.java87 private ResourceSetRegistrationEndpoint endpoint; field in class:ResourceSetRegistrationEndpointTest
123 endpoint = spy(new ResourceSetRegistrationEndpoint(providerSettingsFactory, validator, requestFactory,
131 given(endpoint.getRequest()).willReturn(request);
138 given(endpoint.getResponse()).willReturn(response);
148 given(endpoint.getRequestAttributes()).willReturn(requestAttributes);
153 given(endpoint.getRequestAttributes()).willReturn(requestAttributes);
159 given(endpoint.getConditions()).willReturn(conditions);
165 given(endpoint.getConditions()).willReturn(conditions);
215 Representation response = endpoint.createResourceSet(entity);
252 Representation result = endpoint
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/
H A DClient.java100 * Sends a request to a SOAP endpoint and returns the response. The server
102 * endpoint URL has format 'servlet_URL/key'
105 * @param connectTo the SOAP endpoint URL
106 * @return a response from the SOAP endpoint
117 * Sends a request to a SOAP endpoint and returns the response. The server
119 * endpoint URL has format 'servlet_URL/key'.
122 * @param connectTo the SOAP endpoint URL
125 * @return a response from the SOAP endpoint
136 * Sends a request to a SOAP endpoint and returns the response. The server
138 * endpoint UR
251 getConnection(String endpoint,String certAlias) argument
[all...]
H A DServiceInstanceUpdateHeader.java53 private String endpoint = null; field in class:ServiceInstanceUpdateHeader
95 if (!credentials.isEmpty() || endpoint != null) {
107 if (endpoint != null) {
116 if (endpoint != null) {
121 endpoint = XMLUtils.getElementValue(childElement);
176 return endpoint;
237 * @param endpoint value of <code>Endpoint</code> element.
239 public void setEndpoint(String endpoint) { argument
240 this.endpoint = endpoint;
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/
H A DIDPSingleLogout.java351 //handling the case when the auth was initiated with HTTP-Redirect, but only SOAP or no SLO endpoint was
562 SingleLogoutServiceElement endpoint = getLogoutResponseEndpoint(realm, spEntityID, binding);
563 binding = endpoint.getBinding();
564 String location = getResponseLocation(endpoint);
613 SingleLogoutServiceElement endpoint =
615 if (endpoint == null) {
619 if (SAML2Constants.SOAP.equals(endpoint.getBinding())) {
623 return endpoint;
626 private static String getResponseLocation(SingleLogoutServiceElement endpoint) { argument
627 String location = endpoint
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/dst/
H A DDSTClient.java225 * <code>resourceID</code>, security mechanism and SOAP endpoint defined
263 * <code>resourceID</code>, security mechanism and SOAP endpoint defined
531 * @param endpoint SOAP Endpoint.
533 public void setSOAPEndPoint(String endpoint) { argument
534 this.soapURI = endpoint;
915 * alternate endpoint or credential available for the service requests.
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/dst/
H A DDSTClient.java225 * <code>resourceID</code>, security mechanism and SOAP endpoint defined
263 * <code>resourceID</code>, security mechanism and SOAP endpoint defined
531 * @param endpoint SOAP Endpoint.
533 public void setSOAPEndPoint(String endpoint) { argument
534 this.soapURI = endpoint;
915 * alternate endpoint or credential available for the service requests.
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/
H A DIDPSingleLogout.java352 //handling the case when the auth was initiated with HTTP-Redirect, but only SOAP or no SLO endpoint was
562 SingleLogoutServiceElement endpoint = getLogoutResponseEndpoint(realm, spEntityID, binding);
563 binding = endpoint.getBinding();
564 String location = getResponseLocation(endpoint);
613 SingleLogoutServiceElement endpoint =
615 if (endpoint == null) {
619 if (SAML2Constants.SOAP.equals(endpoint.getBinding())) {
623 return endpoint;
626 private static String getResponseLocation(SingleLogoutServiceElement endpoint) { argument
627 String location = endpoint
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/internal/
H A DInternalLDAPSocket.java227 * Connects this socket to the specified remote endpoint. This will
232 * @param endpoint The address of the remote endpoint.
235 public synchronized void connect(SocketAddress endpoint) argument
245 * Connects this socket to the specified remote endpoint. This does
249 * @param endpoint The address of the remote endpoint.
254 public void connect(SocketAddress endpoint, int timeout) argument
/forgerock/opendj2/src/server/org/opends/server/protocols/internal/
H A DInternalLDAPSocket.java226 * Connects this socket to the specified remote endpoint. This will
231 * @param endpoint The address of the remote endpoint.
234 public synchronized void connect(SocketAddress endpoint) argument
244 * Connects this socket to the specified remote endpoint. This does
248 * @param endpoint The address of the remote endpoint.
253 public void connect(SocketAddress endpoint, int timeout) argument

Completed in 527 milliseconds

12