OAuth 2.0
This feature enables web applications to integrate OAuth 2.0 for authenticating and authorizing users.
Enable this feature
To enable the OAuth 2.0 feature, add the following element declaration into server.xml, inside the featureManager element:
<feature>oauth-2.0</feature>
Feature configuration elements
- administrator-role
- authCache
- authFilter
- authentication
- authorization-roles
- basicRegistry
- cache
- cacheManager
- cachingProvider
- classloader
- classloading
- jaasLoginContextEntry
- jaasLoginModule
- jwtBuilder
- jwtConsumer
- kerberos
- library
- ltpa
- oauth-roles
- oauthProvider
- quickStartSecurity
- reader-role
- trustAssociation
Liberty API packages provided by this feature
- com.ibm.oauth.core.api.attributes
- com.ibm.oauth.core.api.config
- com.ibm.oauth.core.api.error
- com.ibm.oauth.core.api.error.oauth20
- com.ibm.oauth.core.api.oauth20.mediator
- com.ibm.websphere.security.oauth20
- com.ibm.websphere.security.oauth20.store
- com.ibm.websphere.security.openidconnect.token
- com.ibm.wsspi.security.oauth20.token
Features that this feature enables
- appSecurity-2.0
- distributedMap-1.0
- json-1.0
- ldapRegistry-3.0
- servlet-3.0
- servlet-3.1
- servlet-4.0
- servlet-5.0
- servlet-6.0
- ssl-1.0
Supported Java versions
- JavaSE-1.8
- JavaSE-11.0
- JavaSE-17.0
- JavaSE-21.0
- JavaSE-24.0
Features that enable this feature
Develop a feature that depends on this feature
If we are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.
com.ibm.websphere.appserver.oauth-2.0; type="osgi.subsystem.feature"
SPI packages provided by this feature
- com.ibm.wsspi.security.oauth20
- com.ibm.wsspi.security.openidconnect