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 theUserFactoryinterface. This default implementation always returns an emptyUserobject (representing an unknown user).
-
-
Constructor Summary
Constructors Constructor Description UnknownUserFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsercreateUser()Create a newUserobject.-
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:UserFactoryCreate a newUserobject.- Specified by:
createUserin interfaceUserFactory- Returns:
- a new user
-
-