OAuth 標準提供者配置對等項目

下表將 Libertyserver.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