public class UserPasswordTokenGranter
extends org.springframework.security.oauth2.provider.password.ResourceOwnerPasswordTokenGranter
Constructor and Description |
---|
UserPasswordTokenGranter(org.springframework.security.authentication.AuthenticationManager authenticationManager,
org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory,
org.springframework.beans.factory.ObjectFactory<io.jmix.core.session.SessionData> sessionDataFactory,
RequestLocaleProvider localeProvider,
org.springframework.context.ApplicationEventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
protected io.jmix.core.security.ClientDetails |
buildClientDetails() |
protected org.springframework.security.oauth2.provider.OAuth2Authentication |
getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client,
org.springframework.security.oauth2.provider.TokenRequest tokenRequest) |
protected void |
publishInteractiveAuthenticationSuccessEvent(org.springframework.security.oauth2.provider.OAuth2Authentication oAuth2Authentication) |
protected java.util.Locale |
requestLocale() |
public UserPasswordTokenGranter(org.springframework.security.authentication.AuthenticationManager authenticationManager, org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices, org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService, org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory, org.springframework.beans.factory.ObjectFactory<io.jmix.core.session.SessionData> sessionDataFactory, RequestLocaleProvider localeProvider, org.springframework.context.ApplicationEventPublisher eventPublisher)
protected org.springframework.security.oauth2.provider.OAuth2Authentication getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client, org.springframework.security.oauth2.provider.TokenRequest tokenRequest)
getOAuth2Authentication
in class org.springframework.security.oauth2.provider.password.ResourceOwnerPasswordTokenGranter
protected void publishInteractiveAuthenticationSuccessEvent(org.springframework.security.oauth2.provider.OAuth2Authentication oAuth2Authentication)
protected io.jmix.core.security.ClientDetails buildClientDetails()
protected java.util.Locale requestLocale()