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 |