Interface ClientManagementConstants
-
- All Known Implementing Classes:
CMConfigs
public interface ClientManagementConstantsThese are constants for the configuration of the client management facilities. A typical set of entries might look like<clientManagement> <api protocol="rfc7951" enabled="true" url="https://foo.bar/oauth2/rfc77591"/> <api protocol="rfc7952" enabled="true" endpoint="oidc-cm2" /> <api protocol="oa4mp" enabled="false" endpoint="oidc-cm" "/> </clientManagement>In this case, the RFC 7591 endpoint is completely specified. In the other 2 cases, it will be constructed from the server's address (found in the environment'sServiceEnvironmentImpl.getServiceAddress()property). In this case, the native OA4MP client management endpoint has been disabled.Created by Jeff Gaynor
on 7/25/19 at 11:01 AM
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_TAGstatic StringCLIENT_MANAGEMENT_TAGstatic StringDEFAULT_OA4MP_ENDPOINTstatic StringDEFAULT_REFRESH_TOKEN_LIFETIMEstatic StringDEFAULT_RFC7591_ENDPOINTstatic StringENABLE_SERVICEstatic StringENDPOINT_ATTRIBUTEIf the protocol is to be derived from the server address, just set the endpoint, e.g. if the server address ishttps://foo.bar/oauth2and the endpoint isregisterthen the resulting client registration endpoint would behttps://foo.bar/oauth2/registerstatic StringFULL_URL_ATTRIBUTESpecify the complete url for the client registration endpoint.static StringOA4MP_VALUEstatic StringPROTOCOL_ATTRIBUTEstatic StringRFC_7591_ANONYMOUS_ALLOWED_DOMAINSstatic StringRFC_7591_ANONYMOUS_OKAllow anonymous create for this endpoint for a client.static StringRFC_7591_AUTO_APPROVEWhether or not to automatically approve anonymous requests.static StringRFC_7591_AUTO_APPROVE_ALLOWED_DOMAINSstatic StringRFC_7591_AUTO_APPROVER_NAMEstatic StringRFC_7591_TEMPLATEClient id of a configured client to use as a template.static StringRFC_7591_VALUEstatic StringRFC_7592_VALUE
-
-
-
Field Detail
-
CLIENT_MANAGEMENT_TAG
static final String CLIENT_MANAGEMENT_TAG
- See Also:
- Constant Field Values
-
RFC_7591_TEMPLATE
static final String RFC_7591_TEMPLATE
Client id of a configured client to use as a template.- See Also:
- Constant Field Values
-
API_TAG
static final String API_TAG
- See Also:
- Constant Field Values
-
DEFAULT_RFC7591_ENDPOINT
static final String DEFAULT_RFC7591_ENDPOINT
- See Also:
- Constant Field Values
-
DEFAULT_OA4MP_ENDPOINT
static final String DEFAULT_OA4MP_ENDPOINT
- See Also:
- Constant Field Values
-
ENABLE_SERVICE
static final String ENABLE_SERVICE
- See Also:
- Constant Field Values
-
PROTOCOL_ATTRIBUTE
static final String PROTOCOL_ATTRIBUTE
- See Also:
- Constant Field Values
-
RFC_7591_VALUE
static final String RFC_7591_VALUE
- See Also:
- Constant Field Values
-
RFC_7592_VALUE
static final String RFC_7592_VALUE
- See Also:
- Constant Field Values
-
OA4MP_VALUE
static final String OA4MP_VALUE
- See Also:
- Constant Field Values
-
RFC_7591_AUTO_APPROVE
static final String RFC_7591_AUTO_APPROVE
Whether or not to automatically approve anonymous requests. This may happen in highly automated systems with severely restricted access. Generally though setting it true is a terrible idea and a security risk.- See Also:
- Constant Field Values
-
RFC_7591_AUTO_APPROVE_ALLOWED_DOMAINS
static final String RFC_7591_AUTO_APPROVE_ALLOWED_DOMAINS
- See Also:
- Constant Field Values
-
RFC_7591_AUTO_APPROVER_NAME
static final String RFC_7591_AUTO_APPROVER_NAME
- See Also:
- Constant Field Values
-
RFC_7591_ANONYMOUS_OK
static final String RFC_7591_ANONYMOUS_OK
Allow anonymous create for this endpoint for a client. This means that a post with client information to this endpoint will be allowed and an unapproved client will result.- See Also:
- Constant Field Values
-
RFC_7591_ANONYMOUS_ALLOWED_DOMAINS
static final String RFC_7591_ANONYMOUS_ALLOWED_DOMAINS
- See Also:
- Constant Field Values
-
ENDPOINT_ATTRIBUTE
static final String ENDPOINT_ATTRIBUTE
If the protocol is to be derived from the server address, just set the endpoint, e.g. if the server address ishttps://foo.bar/oauth2and the endpoint isregisterthen the resulting client registration endpoint would behttps://foo.bar/oauth2/register- See Also:
- Constant Field Values
-
FULL_URL_ATTRIBUTE
static final String FULL_URL_ATTRIBUTE
Specify the complete url for the client registration endpoint. Note that this will only affect the RFC7951 and RFC7952 protocols and will override the endpoint tag. Use this if, e.g., the registration servlet is located on a completely different machine than the OA4MP server, or if there is some other reason to do so.- See Also:
- Constant Field Values
-
DEFAULT_REFRESH_TOKEN_LIFETIME
static final String DEFAULT_REFRESH_TOKEN_LIFETIME
- See Also:
- Constant Field Values
-
-