Class OAuth2AuthenticationStrategy

java.lang.Object
io.dialob.boot.security.OAuth2AuthenticationStrategy
All Implemented Interfaces:
AuthenticationStrategy

public class OAuth2AuthenticationStrategy extends Object implements AuthenticationStrategy
  • Constructor Summary

    Constructors
    Constructor
    Description
    OAuth2AuthenticationStrategy(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper, org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.config.annotation.web.builders.HttpSecurity
    configureAuthentication(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OAuth2AuthenticationStrategy

      public OAuth2AuthenticationStrategy(@NonNull org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper, @NonNull org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient)
  • Method Details

    • configureAuthentication

      public org.springframework.security.config.annotation.web.builders.HttpSecurity configureAuthentication(@NonNull org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Specified by:
      configureAuthentication in interface AuthenticationStrategy
      Throws:
      Exception