Class TokenAuthEjector


  • public class TokenAuthEjector
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenAuthEjector​(com.caplin.datasource.DataSource dataSource)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void ejectProUser​(java.lang.String username)
      Utility method to eject an FX Pro user that is connected with TokenAuth.
      void ejectSalesUser​(java.lang.String username)
      Utility method to eject an FX Sales user that is connected with TokenAuth.
      void ejectUser​(java.lang.String username, java.lang.String application)
      Utility method to eject a user that is connected with TokenAuth from a given application.
      • Methods inherited from class java.lang.Object

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

      • TokenAuthEjector

        public TokenAuthEjector​(com.caplin.datasource.DataSource dataSource)
    • Method Detail

      • ejectSalesUser

        public void ejectSalesUser​(java.lang.String username)
        Utility method to eject an FX Sales user that is connected with TokenAuth.
        Parameters:
        username - The user to eject
      • ejectProUser

        public void ejectProUser​(java.lang.String username)
        Utility method to eject an FX Pro user that is connected with TokenAuth.
        Parameters:
        username - The user to eject
      • ejectUser

        public void ejectUser​(java.lang.String username,
                              java.lang.String application)
        Utility method to eject a user that is connected with TokenAuth from a given application. To eject a user from FX Pro or FX Sales, you can use the ejectProUser and ejectSalesUser methods.
        Parameters:
        username - The user to eject
        application - The application to eject the user from