Package | Description |
---|---|
org.picketlink.config.http |
Modifier and Type | Method and Description |
---|---|
CORSConfigurationBuilder |
CORSConfigurationBuilder.allowAll()
Convenience method to still use CORS but disable validations by allowing everything.
|
CORSConfigurationBuilder |
CORSConfigurationBuilder.allowAnyHeader(boolean allowAnyHeader)
Use this method to indicate that any HTTP header is allowed for a specific path.
|
CORSConfigurationBuilder |
CORSConfigurationBuilder.allowAnyMethod(boolean allowAnyMethod)
Use this method to indicate that any HTTP method is allowed for a specific path.
|
CORSConfigurationBuilder |
CORSConfigurationBuilder.allowAnyOrigin(boolean allowAnyOrigin)
Use this method to indicate that any origin is allowed to access a specific path.
|
CORSConfigurationBuilder |
CORSConfigurationBuilder.allowCredentials(boolean allowCredentials)
Use this method to indicate that the actual request can include user credentials.
|
CORSConfigurationBuilder |
CORSConfigurationBuilder.allowHeaders(String... allowedHeaders)
Use this method to specify the HTTP headers allowed to access a specific path.
|
CORSConfigurationBuilder |
CORSConfigurationBuilder.allowMethods(String... allowedMethods)
Use this method to specify the HTTP methods allowed to access a specific path.
|
CORSConfigurationBuilder |
CORSConfigurationBuilder.allowOrigins(String... allowedOrigins)
Use this method to specify the origins allowed to access a specific path.
|
CORSConfigurationBuilder |
AbstractPathConfigurationChildBuilder.cors() |
CORSConfigurationBuilder |
PathConfigurationBuilder.cors()
Provides a set of options to configure CORS for a specific path.
|
CORSConfigurationBuilder |
PathConfigurationChildBuilder.cors() |
CORSConfigurationBuilder |
CORSConfigurationBuilder.exposedHeaders(String... exposedHeaders)
Use this method to specify which HTTP headers must be exposed to clients (eg.: XMLHttpRequest)
in addition to the default ones, as defined by the specification.
|
CORSConfigurationBuilder |
CORSConfigurationBuilder.maxAge(long maxAge)
Use this method to indicate indicates how long the results of a preflight request can be cached.
|
Copyright © 2017. All rights reserved.