Searched defs:exceptionHandler (Results 1 - 25 of 50) sorted by relevance

12

/forgerock/openam-v13/openam-oauth2-common/oauth2-restlet/src/main/java/org/forgerock/oauth2/restlet/
H A DErrorResource.java36 private final ExceptionHandler exceptionHandler; field in class:ErrorResource
42 * @param exceptionHandler An instance of the ExceptionHandler.
45 public ErrorResource(ExceptionHandler exceptionHandler, OAuth2Exception e) { argument
46 this.exceptionHandler = exceptionHandler;
84 exceptionHandler.handle(throwable, getResponse());
H A DOAuth2FlowFinder.java48 private final ExceptionHandler exceptionHandler; field in class:OAuth2FlowFinder
54 * @param exceptionHandler An instance of the ExceptionHandler.
58 ExceptionHandler exceptionHandler, Map<String, Finder> endpointClasses) {
60 this.exceptionHandler = exceptionHandler;
79 return new ErrorResource(exceptionHandler, new InvalidRequestException("Grant type is not set"));
85 return new ErrorResource(exceptionHandler,
93 return new ErrorResource(exceptionHandler, new ServerException(e.getMessage()));
57 OAuth2FlowFinder(OAuth2RequestFactory<?, Request> requestFactory, ExceptionHandler exceptionHandler, Map<String, Finder> endpointClasses) argument
H A DRefreshTokenResource.java52 private final ExceptionHandler exceptionHandler; field in class:RefreshTokenResource
60 * @param exceptionHandler An instance of the ExceptionHandler.
65 ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) {
68 this.exceptionHandler = exceptionHandler;
113 exceptionHandler.handle(throwable, getResponse());
64 RefreshTokenResource(OAuth2RequestFactory<?, Request> requestFactory, AccessTokenService accessTokenService, ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) argument
H A DTokenEndpointResource.java51 private final ExceptionHandler exceptionHandler; field in class:TokenEndpointResource
60 * @param exceptionHandler An instance of the ExceptionHandler.
65 ExceptionHandler exceptionHandler, Set<TokenRequestHook> hooks,
69 this.exceptionHandler = exceptionHandler;
121 exceptionHandler.handle(throwable, getResponse());
64 TokenEndpointResource(OAuth2RequestFactory<?, Request> requestFactory, AccessTokenService accessTokenService, ExceptionHandler exceptionHandler, Set<TokenRequestHook> hooks, JacksonRepresentationFactory jacksonRepresentationFactory) argument
H A DTokenIntrospectionResource.java42 private final ExceptionHandler exceptionHandler; field in class:TokenIntrospectionResource
47 OAuth2RequestFactory<?, Request> requestFactory, ExceptionHandler exceptionHandler,
51 this.exceptionHandler = exceptionHandler;
80 exceptionHandler.handle(throwable, getResponse());
46 TokenIntrospectionResource(OAuth2ProviderSettingsFactory providerSettingsFactory, OAuth2RequestFactory<?, Request> requestFactory, ExceptionHandler exceptionHandler, TokenIntrospectionService tokenIntrospectionService) argument
H A DValidationServerResource.java46 private final ExceptionHandler exceptionHandler; field in class:ValidationServerResource
53 * @param exceptionHandler An instance of the ExceptionHandler.
58 ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) {
61 this.exceptionHandler = exceptionHandler;
96 exceptionHandler.handle(throwable, getResponse());
57 ValidationServerResource(OAuth2RequestFactory<?, Request> requestFactory, TokenInfoService tokenInfoService, ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) argument
/forgerock/openam-v13/openam-oauth2-common/oauth2-restlet/src/test/java/org/forgerock/oauth2/restlet/
H A DTokenEndpointResourceTest.java47 private ExceptionHandler exceptionHandler; field in class:TokenEndpointResourceTest
60 exceptionHandler = new ExceptionHandler(representation, null, null, jacksonRepresentationFactory);
63 tokenEndpointResource = new TokenEndpointResource(requestFactory, accessTokenService, exceptionHandler,
/forgerock/openam-v13/openam-oauth2-common/openid-connect-restlet/src/main/java/org/forgerock/openidconnect/restlet/
H A DConnectClientRegistration.java54 private final ExceptionHandler exceptionHandler; field in class:ConnectClientRegistration
62 * @param exceptionHandler An instance of the ExceptionHandler.
67 OAuth2RequestFactory<?, Request> requestFactory, ExceptionHandler exceptionHandler,
71 this.exceptionHandler = exceptionHandler;
132 exceptionHandler.handle(throwable, getResponse());
66 ConnectClientRegistration(OpenIdConnectClientRegistrationService clientRegistrationService, OAuth2RequestFactory<?, Request> requestFactory, ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) argument
H A DOpenIDConnectConfiguration.java43 private final ExceptionHandler exceptionHandler; field in class:OpenIDConnectConfiguration
50 * @param exceptionHandler An instance of the ExceptionHandler.
54 OpenIDConnectProviderConfiguration providerConfiguration, ExceptionHandler exceptionHandler) {
57 this.exceptionHandler = exceptionHandler;
85 exceptionHandler.handle(throwable, getResponse());
53 OpenIDConnectConfiguration(OAuth2RequestFactory<?, Request> requestFactory, OpenIDConnectProviderConfiguration providerConfiguration, ExceptionHandler exceptionHandler) argument
H A DOpenIDConnectDiscovery.java44 private final ExceptionHandler exceptionHandler; field in class:OpenIDConnectDiscovery
52 * @param exceptionHandler An instance of the ExceptionHandler.
56 OpenIDConnectProviderDiscovery providerDiscovery, ExceptionHandler exceptionHandler,
60 this.exceptionHandler = exceptionHandler;
98 exceptionHandler.handle(throwable, getResponse());
55 OpenIDConnectDiscovery(OAuth2RequestFactory<?, Request> requestFactory, OpenIDConnectProviderDiscovery providerDiscovery, ExceptionHandler exceptionHandler, BaseURLProviderFactory baseUrlProviderFactory) argument
H A DOpenIDConnectJWKEndpoint.java43 private final ExceptionHandler exceptionHandler; field in class:OpenIDConnectJWKEndpoint
50 * @param exceptionHandler An instance of the ExceptionHandler.
54 OAuth2ProviderSettingsFactory providerSettingsFactory, ExceptionHandler exceptionHandler) {
57 this.exceptionHandler = exceptionHandler;
84 exceptionHandler.handle(throwable, getResponse());
53 OpenIDConnectJWKEndpoint(OAuth2RequestFactory<?, Request> requestFactory, OAuth2ProviderSettingsFactory providerSettingsFactory, ExceptionHandler exceptionHandler) argument
H A DUserInfo.java45 private final ExceptionHandler exceptionHandler; field in class:UserInfo
52 * @param exceptionHandler An instance of the ExceptionHandler.
56 ExceptionHandler exceptionHandler) {
59 this.exceptionHandler = exceptionHandler;
90 exceptionHandler.handle(throwable, getResponse());
55 UserInfo(OAuth2RequestFactory<?, Request> requestFactory, UserInfoService userInfoService, ExceptionHandler exceptionHandler) argument
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DUmaWellKnownConfigurationEndpoint.java42 private final UmaExceptionHandler exceptionHandler; field in class:UmaWellKnownConfigurationEndpoint
49 * @param exceptionHandler An instance of the UmaExceptionHandler.
54 UmaProviderSettingsFactory providerSettingsFactory, UmaExceptionHandler exceptionHandler,
58 this.exceptionHandler = exceptionHandler;
112 exceptionHandler.handleException(getResponse(), throwable);
53 UmaWellKnownConfigurationEndpoint(UmaUrisFactory urisFactory, UmaProviderSettingsFactory providerSettingsFactory, UmaExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/restlet/
H A DErrorResource.java36 private final ExceptionHandler exceptionHandler; field in class:ErrorResource
42 * @param exceptionHandler An instance of the ExceptionHandler.
45 public ErrorResource(ExceptionHandler exceptionHandler, OAuth2Exception e) { argument
46 this.exceptionHandler = exceptionHandler;
84 exceptionHandler.handle(throwable, getResponse());
H A DOAuth2FlowFinder.java48 private final ExceptionHandler exceptionHandler; field in class:OAuth2FlowFinder
54 * @param exceptionHandler An instance of the ExceptionHandler.
58 ExceptionHandler exceptionHandler, Map<String, Finder> endpointClasses) {
60 this.exceptionHandler = exceptionHandler;
79 return new ErrorResource(exceptionHandler, new InvalidRequestException("Grant type is not set"));
85 return new ErrorResource(exceptionHandler,
93 return new ErrorResource(exceptionHandler, new ServerException(e.getMessage()));
57 OAuth2FlowFinder(OAuth2RequestFactory requestFactory, ExceptionHandler exceptionHandler, Map<String, Finder> endpointClasses) argument
H A DRefreshTokenResource.java52 private final ExceptionHandler exceptionHandler; field in class:RefreshTokenResource
60 * @param exceptionHandler An instance of the ExceptionHandler.
65 ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) {
68 this.exceptionHandler = exceptionHandler;
113 exceptionHandler.handle(throwable, getResponse());
64 RefreshTokenResource(OAuth2RequestFactory requestFactory, AccessTokenService accessTokenService, ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) argument
H A DTokenEndpointResource.java51 private final ExceptionHandler exceptionHandler; field in class:TokenEndpointResource
60 * @param exceptionHandler An instance of the ExceptionHandler.
65 ExceptionHandler exceptionHandler, Set<TokenRequestHook> hooks,
69 this.exceptionHandler = exceptionHandler;
121 exceptionHandler.handle(throwable, getResponse());
64 TokenEndpointResource(OAuth2RequestFactory requestFactory, AccessTokenService accessTokenService, ExceptionHandler exceptionHandler, Set<TokenRequestHook> hooks, JacksonRepresentationFactory jacksonRepresentationFactory) argument
H A DTokenIntrospectionResource.java42 private final ExceptionHandler exceptionHandler; field in class:TokenIntrospectionResource
47 OAuth2RequestFactory requestFactory, ExceptionHandler exceptionHandler,
51 this.exceptionHandler = exceptionHandler;
80 exceptionHandler.handle(throwable, getResponse());
46 TokenIntrospectionResource(OAuth2ProviderSettingsFactory providerSettingsFactory, OAuth2RequestFactory requestFactory, ExceptionHandler exceptionHandler, TokenIntrospectionService tokenIntrospectionService) argument
H A DValidationServerResource.java46 private final ExceptionHandler exceptionHandler; field in class:ValidationServerResource
53 * @param exceptionHandler An instance of the ExceptionHandler.
58 ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) {
61 this.exceptionHandler = exceptionHandler;
96 exceptionHandler.handle(throwable, getResponse());
57 ValidationServerResource(OAuth2RequestFactory requestFactory, TokenInfoService tokenInfoService, ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openidconnect/restlet/
H A DConnectClientRegistration.java54 private final ExceptionHandler exceptionHandler; field in class:ConnectClientRegistration
62 * @param exceptionHandler An instance of the ExceptionHandler.
67 OAuth2RequestFactory requestFactory, ExceptionHandler exceptionHandler,
71 this.exceptionHandler = exceptionHandler;
132 exceptionHandler.handle(throwable, getResponse());
66 ConnectClientRegistration(OpenIdConnectClientRegistrationService clientRegistrationService, OAuth2RequestFactory requestFactory, ExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) argument
H A DOpenIDConnectConfiguration.java43 private final ExceptionHandler exceptionHandler; field in class:OpenIDConnectConfiguration
50 * @param exceptionHandler An instance of the ExceptionHandler.
54 OpenIDConnectProviderConfiguration providerConfiguration, ExceptionHandler exceptionHandler) {
57 this.exceptionHandler = exceptionHandler;
85 exceptionHandler.handle(throwable, getResponse());
53 OpenIDConnectConfiguration(OAuth2RequestFactory requestFactory, OpenIDConnectProviderConfiguration providerConfiguration, ExceptionHandler exceptionHandler) argument
H A DOpenIDConnectDiscovery.java44 private final ExceptionHandler exceptionHandler; field in class:OpenIDConnectDiscovery
52 * @param exceptionHandler An instance of the ExceptionHandler.
56 OpenIDConnectProviderDiscovery providerDiscovery, ExceptionHandler exceptionHandler,
60 this.exceptionHandler = exceptionHandler;
98 exceptionHandler.handle(throwable, getResponse());
55 OpenIDConnectDiscovery(OAuth2RequestFactory requestFactory, OpenIDConnectProviderDiscovery providerDiscovery, ExceptionHandler exceptionHandler, BaseURLProviderFactory baseUrlProviderFactory) argument
H A DOpenIDConnectJWKEndpoint.java43 private final ExceptionHandler exceptionHandler; field in class:OpenIDConnectJWKEndpoint
50 * @param exceptionHandler An instance of the ExceptionHandler.
54 OAuth2ProviderSettingsFactory providerSettingsFactory, ExceptionHandler exceptionHandler) {
57 this.exceptionHandler = exceptionHandler;
84 exceptionHandler.handle(throwable, getResponse());
53 OpenIDConnectJWKEndpoint(OAuth2RequestFactory requestFactory, OAuth2ProviderSettingsFactory providerSettingsFactory, ExceptionHandler exceptionHandler) argument
H A DUserInfo.java45 private final ExceptionHandler exceptionHandler; field in class:UserInfo
52 * @param exceptionHandler An instance of the ExceptionHandler.
56 ExceptionHandler exceptionHandler) {
59 this.exceptionHandler = exceptionHandler;
90 exceptionHandler.handle(throwable, getResponse());
55 UserInfo(OAuth2RequestFactory requestFactory, UserInfoService userInfoService, ExceptionHandler exceptionHandler) argument
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DUmaWellKnownConfigurationEndpoint.java45 private final UmaExceptionHandler exceptionHandler; field in class:UmaWellKnownConfigurationEndpoint
52 * @param exceptionHandler An instance of the UmaExceptionHandler.
57 UmaProviderSettingsFactory providerSettingsFactory, UmaExceptionHandler exceptionHandler,
61 this.exceptionHandler = exceptionHandler;
115 exceptionHandler.handleException(getResponse(), throwable);
56 UmaWellKnownConfigurationEndpoint(UmaUrisFactory urisFactory, UmaProviderSettingsFactory providerSettingsFactory, UmaExceptionHandler exceptionHandler, JacksonRepresentationFactory jacksonRepresentationFactory) argument

Completed in 40 milliseconds

12