Package no.nav.security.mock.oauth2.http
Class CorsInterceptor
-
- All Implemented Interfaces:
-
no.nav.security.mock.oauth2.http.Interceptor,no.nav.security.mock.oauth2.http.ResponseInterceptor
public final class CorsInterceptor implements ResponseInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringORIGINpublic final static StringACCESS_CONTROL_ALLOW_CREDENTIALSpublic final static StringACCESS_CONTROL_REQUEST_HEADERSpublic final static StringACCESS_CONTROL_ALLOW_HEADERSpublic final static StringACCESS_CONTROL_ALLOW_METHODSpublic final static StringACCESS_CONTROL_ALLOW_ORIGIN
-
Constructor Summary
Constructors Constructor Description CorsInterceptor(List<String> allowedMethods)
-
Method Summary
Modifier and Type Method Description OAuth2HttpResponseintercept(OAuth2HttpRequest request, OAuth2HttpResponse response)-
-
Method Detail
-
intercept
OAuth2HttpResponse intercept(OAuth2HttpRequest request, OAuth2HttpResponse response)
-
-
-
-