Package com.caplin.motif.utility
Class TokenAuthEjector
java.lang.Object
com.caplin.motif.utility.TokenAuthEjector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidejectProUser(String username) Utility method to eject an FX Pro user that is connected with TokenAuth.voidejectSalesUser(String username) Utility method to eject an FX Sales user that is connected with TokenAuth.voidUtility method to eject a user that is connected with TokenAuth from a given application.
-
Constructor Details
-
TokenAuthEjector
public TokenAuthEjector(com.caplin.datasource.DataSource dataSource)
-
-
Method Details
-
ejectSalesUser
Utility method to eject an FX Sales user that is connected with TokenAuth.- Parameters:
username- The user to eject
-
ejectProUser
Utility method to eject an FX Pro user that is connected with TokenAuth.- Parameters:
username- The user to eject
-
ejectUser
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 theejectProUserandejectSalesUsermethods.- Parameters:
username- The user to ejectapplication- The application to eject the user from
-