Package org.keycloak.headers
Class DefaultSecurityHeadersProvider
- java.lang.Object
-
- org.keycloak.headers.DefaultSecurityHeadersProvider
-
- All Implemented Interfaces:
SecurityHeadersProvider
,Provider
public class DefaultSecurityHeadersProvider extends Object implements SecurityHeadersProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultSecurityHeadersProvider(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHeaders(javax.ws.rs.container.ContainerRequestContext requestContext, javax.ws.rs.container.ContainerResponseContext responseContext)
SecurityHeadersOptions
options()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.headers.SecurityHeadersProvider
close
-
-
-
-
Constructor Detail
-
DefaultSecurityHeadersProvider
public DefaultSecurityHeadersProvider(KeycloakSession session)
-
-
Method Detail
-
options
public SecurityHeadersOptions options()
- Specified by:
options
in interfaceSecurityHeadersProvider
-
addHeaders
public void addHeaders(javax.ws.rs.container.ContainerRequestContext requestContext, javax.ws.rs.container.ContainerResponseContext responseContext)
- Specified by:
addHeaders
in interfaceSecurityHeadersProvider
-
-