|
|
|
@ -106,9 +106,7 @@
|
|
|
|
|
<!-- Enable renewal of refresh token for refresh_token grant -->
|
|
|
|
|
<RenewRefreshTokenForRefreshGrant>true</RenewRefreshTokenForRefreshGrant>
|
|
|
|
|
<!-- Process the token before storing it in database, e.g. encrypting -->
|
|
|
|
|
<TokenPersistenceProcessor>
|
|
|
|
|
org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor
|
|
|
|
|
</TokenPersistenceProcessor>
|
|
|
|
|
<TokenPersistenceProcessor>org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor</TokenPersistenceProcessor>
|
|
|
|
|
<!-- Supported Client Autnetication Methods -->
|
|
|
|
|
<ClientAuthHandlers>
|
|
|
|
|
<ClientAuthHandler
|
|
|
|
@ -120,54 +118,38 @@
|
|
|
|
|
<SupportedResponseTypes>
|
|
|
|
|
<SupportedResponseType>
|
|
|
|
|
<ResponseTypeName>token</ResponseTypeName>
|
|
|
|
|
<ResponseTypeHandlerImplClass>
|
|
|
|
|
org.wso2.carbon.identity.oauth2.authz.handlers.TokenResponseTypeHandler
|
|
|
|
|
</ResponseTypeHandlerImplClass>
|
|
|
|
|
<ResponseTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.authz.handlers.TokenResponseTypeHandler</ResponseTypeHandlerImplClass>
|
|
|
|
|
</SupportedResponseType>
|
|
|
|
|
<SupportedResponseType>
|
|
|
|
|
<ResponseTypeName>code</ResponseTypeName>
|
|
|
|
|
<ResponseTypeHandlerImplClass>
|
|
|
|
|
org.wso2.carbon.identity.oauth2.authz.handlers.CodeResponseTypeHandler
|
|
|
|
|
</ResponseTypeHandlerImplClass>
|
|
|
|
|
<ResponseTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.authz.handlers.CodeResponseTypeHandler</ResponseTypeHandlerImplClass>
|
|
|
|
|
</SupportedResponseType>
|
|
|
|
|
</SupportedResponseTypes>
|
|
|
|
|
<!-- Supported Grant Types -->
|
|
|
|
|
<SupportedGrantTypes>
|
|
|
|
|
<SupportedGrantType>
|
|
|
|
|
<GrantTypeName>authorization_code</GrantTypeName>
|
|
|
|
|
<GrantTypeHandlerImplClass>
|
|
|
|
|
org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationCodeGrantHandler
|
|
|
|
|
</GrantTypeHandlerImplClass>
|
|
|
|
|
<GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationCodeGrantHandler</GrantTypeHandlerImplClass>
|
|
|
|
|
</SupportedGrantType>
|
|
|
|
|
<SupportedGrantType>
|
|
|
|
|
<GrantTypeName>password</GrantTypeName>
|
|
|
|
|
<GrantTypeHandlerImplClass>
|
|
|
|
|
org.wso2.carbon.identity.oauth2.token.handlers.grant.PasswordGrantHandler
|
|
|
|
|
</GrantTypeHandlerImplClass>
|
|
|
|
|
<GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.PasswordGrantHandler</GrantTypeHandlerImplClass>
|
|
|
|
|
</SupportedGrantType>
|
|
|
|
|
<SupportedGrantType>
|
|
|
|
|
<GrantTypeName>refresh_token</GrantTypeName>
|
|
|
|
|
<GrantTypeHandlerImplClass>
|
|
|
|
|
org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler
|
|
|
|
|
</GrantTypeHandlerImplClass>
|
|
|
|
|
<GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler</GrantTypeHandlerImplClass>
|
|
|
|
|
</SupportedGrantType>
|
|
|
|
|
<SupportedGrantType>
|
|
|
|
|
<GrantTypeName>client_credentials</GrantTypeName>
|
|
|
|
|
<GrantTypeHandlerImplClass>
|
|
|
|
|
org.wso2.carbon.identity.oauth2.token.handlers.grant.ClientCredentialsGrantHandler
|
|
|
|
|
</GrantTypeHandlerImplClass>
|
|
|
|
|
<GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.ClientCredentialsGrantHandler</GrantTypeHandlerImplClass>
|
|
|
|
|
</SupportedGrantType>
|
|
|
|
|
<SupportedGrantType>
|
|
|
|
|
<GrantTypeName>urn:ietf:params:oauth:grant-type:saml2-bearer</GrantTypeName>
|
|
|
|
|
<GrantTypeHandlerImplClass>
|
|
|
|
|
org.wso2.carbon.identity.oauth2.token.handlers.grant.saml.SAML2BearerGrantHandler
|
|
|
|
|
</GrantTypeHandlerImplClass>
|
|
|
|
|
<GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.saml.SAML2BearerGrantHandler</GrantTypeHandlerImplClass>
|
|
|
|
|
</SupportedGrantType>
|
|
|
|
|
<SupportedGrantType>
|
|
|
|
|
<GrantTypeName>iwa:ntlm</GrantTypeName>
|
|
|
|
|
<GrantTypeHandlerImplClass>
|
|
|
|
|
org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandler
|
|
|
|
|
</GrantTypeHandlerImplClass>
|
|
|
|
|
<GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandler</GrantTypeHandlerImplClass>
|
|
|
|
|
</SupportedGrantType>
|
|
|
|
|
</SupportedGrantTypes>
|
|
|
|
|
<OAuthCallbackHandlers>
|
|
|
|
|