Class SessionTokenEnhancer

java.lang.Object
io.jmix.securityoauth2.impl.SessionTokenEnhancer
All Implemented Interfaces:
org.springframework.security.oauth2.provider.token.TokenEnhancer

public class SessionTokenEnhancer extends Object implements org.springframework.security.oauth2.provider.token.TokenEnhancer
A token enhancer that provides session info details
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.springframework.beans.factory.ObjectProvider<SessionData>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SessionTokenEnhancer(org.springframework.beans.factory.ObjectProvider<SessionData> sessionDataProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.oauth2.common.OAuth2AccessToken
    enhance(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
     

    Methods inherited from class java.lang.Object

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

    • sessionDataProvider

      protected org.springframework.beans.factory.ObjectProvider<SessionData> sessionDataProvider
  • Constructor Details

    • SessionTokenEnhancer

      public SessionTokenEnhancer(org.springframework.beans.factory.ObjectProvider<SessionData> sessionDataProvider)
  • Method Details

    • enhance

      public org.springframework.security.oauth2.common.OAuth2AccessToken enhance(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
      Specified by:
      enhance in interface org.springframework.security.oauth2.provider.token.TokenEnhancer