Package uk.gov.gchq.gaffer.rest.factory
Class UnknownUserFactory
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.factory.UnknownUserFactory
-
- All Implemented Interfaces:
UserFactory
public class UnknownUserFactory extends Object implements UserFactory
Default implementation of theUserFactory
interface. This default implementation always returns an emptyUser
object (representing an unknown user).
-
-
Constructor Summary
Constructors Constructor Description UnknownUserFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
createUser()
Create a newUser
object.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.gov.gchq.gaffer.rest.factory.UserFactory
createContext
-
-
-
-
Method Detail
-
createUser
public User createUser()
Description copied from interface:UserFactory
Create a newUser
object.- Specified by:
createUser
in interfaceUserFactory
- Returns:
- a new user
-
-