OAuth 经典提供者配置等效项

下面的表将 Liberty server.xml 文件元素和属性映射到提供者配置文件中的等效经典提供者参数。

下表说明了 oauthProvider 元素的 Liberty 属性及等效的经典参数。

表 1. Liberty oauthProvider 元素
Liberty 属性名称 经典等效参数
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
下表说明了 databaseStore 元素的 Liberty 属性及等效的经典参数。
表 2. Liberty databaseStore 元素
Liberty 属性名称 WebSphere Application Server 传统版的等价参数
cleanupExpiredTokenInterval oauthjdbc.CleanupInterval

用于指示主题类型的图标 概念主题

文件名:cwlp_oauth_configequiv.html