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