OAuth classic provider configuration equivalents

The following tables map the Liberty server.xml file elements and attributes to the equivalent classic provider parameters in the provider configuration file.

The following table illustrates the Liberty attributes and the equivalent classic parameters for the oauthProvider element.

Table 1. Liberty oauthProvider element
Liberty attribute name Classic equivalent parameter
authorizationGrantLifetime oauth20.max.authorization.grant.lifetime.seconds
authorizationCodeLifetime oauth20.code.lifetime.seconds
authorizationCodeLength oauth20.code.length
accessTokenLifetime oauth20.token.lifetime.seconds
accessTokenLength oauth20.access.token.length
issueRefreshToken oauth20.issue.refresh.token
refreshTokenLength oauth20.refresh.token.length
mediatorClassname oauth20.mediator.classnames
allowPublicClients oauth20.allow.public.clients
grantType oauth20.grant.types.allowed
authorizationFormTemplate oauth20.authorization.form.template
authorizationErrorTemplate oauth20.authorization.error.template
customLoginURL oauth20.authorization.loginURL
autoAuthorizeParam oauth20.autoauthorize.param
autoAuthorizeClient oauth20.autoauthorize.clients
clientURISubstitutions oauth20.client.uri.substitutions
filter Filter
oauthOnly oauthOnly
includeTokenInSubject includeToken
characterEncoding characterEncoding
clientTokenCacheSize oauth20.token.userClientTokenLimit
The following table illustrates the Liberty attributes and the equivalent classic parameters for the databaseStore element.
Table 2. Liberty databaseStore element
Liberty attribute name WebSphere Application Server traditional equivalent parameter
cleanupExpiredTokenInterval oauthjdbc.CleanupInterval