Class UnknownUserFactory
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.factory.spring.AbstractUserFactory
-
- uk.gov.gchq.gaffer.rest.factory.spring.UnknownUserFactory
-
- All Implemented Interfaces:
UserFactory
public class UnknownUserFactory extends AbstractUserFactory
Default implementation of theAbstractUserFactory. 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 uk.gov.gchq.gaffer.rest.factory.spring.AbstractUserFactory
setHttpHeaders
-
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- Overrides:
createUserin classAbstractUserFactory- Returns:
- a new user
-
-