OAuth 完整設定檔提供者配置對等項目
下表將 Liberty 的 server.xml 檔元素和屬性,對映至提供者配置檔中對等的完整設定檔提供者參數。
下表說明 oauthProvider 元素的 Liberty 屬性及對等的完整設定檔參數。
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 屬性及對等的完整設定檔參數。
Liberty 屬性名稱 | WebSphere Application Server 傳統版的對等參數 |
---|---|
cleanupExpiredTokenInterval | oauthjdbc.CleanupInterval |