Created
October 28, 2016 13:20
-
-
Save coheigea/977408da34a47a7f88095c2dc42f4693 to your computer and use it in GitHub Desktop.
Using JAAS with OAuthDataProviderImpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="oauthProvider" | |
class="org.apache.cxf.fediz.service.oidc.OAuthDataProviderImpl" | |
init-method="init" destroy-method="close"> | |
<!-- List of accepted scopes --> | |
<property name="supportedScopes" ref="supportedScopes"/> | |
<!-- | |
List of scopes that the consent/authorization form should make | |
selected by default. For example, asking a user to do an extra click | |
to approve an "oidc" scope is a redundant operation because this scope | |
is required anyway. | |
--> | |
<property name="defaultScopes" ref="coreScopes"/> | |
<property name="invisibleToClientScopes" ref="invisibleToClientScopes"/> | |
<property name="contextName" value="sts"/> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment