|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.oauth1.OAuth1ServerProperties
public final class OAuth1ServerProperties
Properties used to configure OAuth server module.
| Field Summary | |
|---|---|
static String |
ACCESS_TOKEN_URI
If exposure of token resources is enabled (e.g. |
static String |
ENABLE_TOKEN_RESOURCES
If set to true, token resources will be exposed. |
static String |
GC_PERIOD
Property that can be set to frequency of collecting nonces exceeding max. |
static String |
IGNORE_PATH_PATTERN
Property that can be set to a regular expression used to match the path (relative to the base URI) this filter should not be applied to. |
static String |
MAX_AGE
Property defines maximum age (in milliseconds) of nonces that should be tracked (default = 300000 ms = 5 min). |
static String |
NO_FAIL
If set to true makes the correct OAuth authentication optional. |
static String |
REALM
OAuth realm (String property). |
static String |
REQUEST_TOKEN_URI
If exposure of token resources is enabled (e.g. |
| Constructor Summary | |
|---|---|
OAuth1ServerProperties()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REALM
A default value is 'default'.
The name of the configuration property is "jersey.config.server.oauth1.realm".
public static final String IGNORE_PATH_PATTERN
A default value is null.
The name of the configuration property is "jersey.config.server.oauth1.ignorePathPattern".
public static final String MAX_AGE
A default value is 300000 which corresponds to 5 minutes.
The name of the configuration property is "jersey.config.server.oauth1.maxAge".
public static final String GC_PERIOD
public static final String NO_FAIL
true makes the correct OAuth authentication optional.
Instead of returning the appropriate status code
(Response.Status.BAD_REQUEST
or Response.Status.UNAUTHORIZED) the OAuth filter
will ignore this request (as if it was not authenticated) and let the web application deal with it.
A default value is false.
The name of the configuration property is "jersey.config.server.oauth1.noFail".
public static final String ENABLE_TOKEN_RESOURCES
true, token resources will be exposed. Token resources are JAX-RS resources
for retrieving Request Tokens and Access Tokens. If the property is set to false,
the resources will not be exposed and it is responsibility of the user custom resource to issue
Request Tokens and Access Tokens.
URIs of exposed resources can be specified by REQUEST_TOKEN_URI and ACCESS_TOKEN_URI.
A default value is true.
The name of the configuration property is "jersey.config.server.oauth1.resource.enabled".
public static final String REQUEST_TOKEN_URI
ENABLE_TOKEN_RESOURCES),
this property defines the relative URI of exposed Request Token Resource. The URI must be relative
to the base URI of the JAX-RS application.
Request Token resource is the resource which issues a Request Token and Request Token secret
during the Authorization process (temporary credentials IDs).
The property is undefined by default.
The name of the configuration property is "jersey.config.server.oauth1.resource.requestToken.uri".
public static final String ACCESS_TOKEN_URI
ENABLE_TOKEN_RESOURCES),
this property defines the relative URI of exposed Access Token Resource. The URI must be relative
to the base URI of the JAX-RS application.
Access Token resource is the resource which issues a Access Token and Access Token secret
during the Authorization process.
The property is undefined by default.
The name of the configuration property is "jersey.config.server.oauth1.resource.accessToken.uri".
| Constructor Detail |
|---|
public OAuth1ServerProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||