Class DefaultUserProvider

  • All Implemented Interfaces:

    public class DefaultUserProvider
    extends Object
    implements UserProvider
    The default implementation of UserProvider. Returns HttpServletRequest.getRemoteUser() as the user ID.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Optional<String> getUserId​(javax.servlet.http.HttpServletRequest request)  
      • Methods inherited from class java.lang.Object

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

      • DefaultUserProvider

        public DefaultUserProvider()
    • Method Detail

      • getUserId

        public Optional<String> getUserId​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        getUserId in interface UserProvider