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 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 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:UserFactory
Create a newUser
object.- Specified by:
createUser
in interfaceUserFactory
- Overrides:
createUser
in classAbstractUserFactory
- Returns:
- a new user
-
-