Class AuthenticationHelper


  • @Component
    public class AuthenticationHelper
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      User getAdminUser()
      Method returns admin user.
      User getCurrentUser()
      Method returns current user based on Spring context.
      • Methods inherited from class java.lang.Object

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

      • AuthenticationHelper

        public AuthenticationHelper()
    • Method Detail

      • getCurrentUser

        public User getCurrentUser()
        Method returns current user based on Spring context.
        Returns:
        User entity of current user.
      • getAdminUser

        public User getAdminUser()
        Method returns admin user.
        Returns:
        User entity of admin user.