Uses of Class
uk.gov.gchq.gaffer.user.User
-
-
Uses of User in uk.gov.gchq.gaffer.access
Methods in uk.gov.gchq.gaffer.access with parameters of type User Modifier and Type Method Description default boolean
AccessControlledResource. hasReadAccess(User user)
boolean
AccessControlledResource. hasReadAccess(User user, String adminAuth)
default boolean
AccessControlledResource. hasWriteAccess(User user)
boolean
AccessControlledResource. hasWriteAccess(User user, String adminAuth)
-
Uses of User in uk.gov.gchq.gaffer.access.predicate
Methods in uk.gov.gchq.gaffer.access.predicate that return types with arguments of type User Modifier and Type Method Description Predicate<User>
AccessPredicate. getUserPredicate()
Predicate<User>
NoAccessPredicate. getUserPredicate()
Predicate<User>
UnrestrictedAccessPredicate. getUserPredicate()
Methods in uk.gov.gchq.gaffer.access.predicate with parameters of type User Modifier and Type Method Description boolean
AccessPredicate. test(User user, String adminAuth)
Constructors in uk.gov.gchq.gaffer.access.predicate with parameters of type User Constructor Description AccessPredicate(User creatingUser, List<String> auths)
Constructor parameters in uk.gov.gchq.gaffer.access.predicate with type arguments of type User Constructor Description AccessPredicate(Predicate<User> userPredicate)
-
Uses of User in uk.gov.gchq.gaffer.access.predicate.user
Methods in uk.gov.gchq.gaffer.access.predicate.user with parameters of type User Modifier and Type Method Description boolean
DefaultUserPredicate. hasPermission(User user)
boolean
DefaultUserPredicate. isResourceCreator(User user)
boolean
DefaultUserPredicate. test(User user)
boolean
NoAccessUserPredicate. test(User user)
boolean
UnrestrictedAccessUserPredicate. test(User user)
-
Uses of User in uk.gov.gchq.gaffer.accumulostore
Methods in uk.gov.gchq.gaffer.accumulostore with parameters of type User Modifier and Type Method Description void
AccumuloStore. updateConfiguration(org.apache.hadoop.conf.Configuration conf, GraphFilters graphFilters, User user)
Updates a HadoopConfiguration
with information needed to connect to the Accumulo store. -
Uses of User in uk.gov.gchq.gaffer.accumulostore.operation.handler
Methods in uk.gov.gchq.gaffer.accumulostore.operation.handler with parameters of type User Modifier and Type Method Description Iterable<? extends EntityId>
GetAdjacentIdsHandler. doOperation(GetAdjacentIds op, User user, AccumuloStore store)
Iterable<? extends Element>
GetAllElementsHandler. doOperation(GetAllElements operation, User user, AccumuloStore store)
Iterable<? extends Element>
GetElementsBetweenSetsHandler. doOperation(GetElementsBetweenSets operation, User user, AccumuloStore store)
Deprecated.Iterable<? extends Element>
GetElementsBetweenSetsPairsHandler. doOperation(GetElementsBetweenSetsPairs operation, User user, AccumuloStore store)
Iterable<? extends Element>
GetElementsHandler. doOperation(GetElements operation, User user, AccumuloStore store)
Iterable<? extends Element>
GetElementsInRangesHandler. doOperation(GetElementsInRanges operation, User user, AccumuloStore store)
Iterable<? extends Element>
GetElementsWithinSetHandler. doOperation(GetElementsWithinSet operation, User user, AccumuloStore store)
Iterable<? extends Element>
SummariseGroupOverRangesHandler. doOperation(SummariseGroupOverRanges operation, User user, AccumuloStore store)
-
Uses of User in uk.gov.gchq.gaffer.accumulostore.retriever
Constructors in uk.gov.gchq.gaffer.accumulostore.retriever with parameters of type User Constructor Description AccumuloSetRetriever(AccumuloStore store, OP operation, User user)
AccumuloSetRetriever(AccumuloStore store, OP operation, User user, boolean readEntriesIntoMemory)
AccumuloSetRetriever(AccumuloStore store, OP operation, User user, boolean readEntriesIntoMemory, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
AccumuloSetRetriever(AccumuloStore store, OP operation, User user, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
-
Uses of User in uk.gov.gchq.gaffer.accumulostore.retriever.impl
Constructors in uk.gov.gchq.gaffer.accumulostore.retriever.impl with parameters of type User Constructor Description AccumuloAdjacentIdRetriever(AccumuloStore store, GetAdjacentIds operation, User user)
AccumuloAllElementsRetriever(AccumuloStore store, GetAllElements operation, User user)
AccumuloElementsRetriever(AccumuloStore store, GetElements operation, User user)
AccumuloIDBetweenSetsRetriever(AccumuloStore store, GetElementsBetweenSets operation, User user, boolean readEntriesIntoMemory, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
AccumuloIDBetweenSetsRetriever(AccumuloStore store, GetElementsBetweenSets operation, User user, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
AccumuloIDWithinSetRetriever(AccumuloStore store, GetElementsWithinSet operation, User user, boolean readEntriesIntoMemory, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
AccumuloIDWithinSetRetriever(AccumuloStore store, GetElementsWithinSet operation, User user, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
AccumuloRangeIDRetriever(AccumuloStore store, OP operation, User user)
AccumuloRangeIDRetriever(AccumuloStore store, OP operation, User user, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
Use of the varargs parameter here will mean the usual default iterators wont be applied, (Edge Direction,Edge/Entity TypeDefinition and View Filtering) To apply them pass them directly to the varargs via calling your keyPackage.getIteratorFactory() and either getElementFilterIteratorSetting and/Or getEdgeEntityDirectionFilterIteratorSettingAccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user)
AccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user, boolean includeMatchedVertex, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
Use of the varargs parameter here will mean the usual default iterators wont be applied, (Edge Direction,Edge/Entity TypeDefinition and View Filtering) To apply them pass them directly to the varargs via calling your keyPackage.getIteratorFactory() and either getElementFilterIteratorSetting and/Or getEdgeEntityDirectionFilterIteratorSettingAccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
-
Uses of User in uk.gov.gchq.gaffer.data.elementdefinition.view
Methods in uk.gov.gchq.gaffer.data.elementdefinition.view with parameters of type User Modifier and Type Method Description boolean
NamedViewDetail. hasReadAccess(User user, String adminAuth)
boolean
NamedViewDetail. hasWriteAccess(User user, String adminAuth)
-
Uses of User in uk.gov.gchq.gaffer.data.elementdefinition.view.access.predicate
Constructors in uk.gov.gchq.gaffer.data.elementdefinition.view.access.predicate with parameters of type User Constructor Description NamedViewWriteAccessPredicate(User creatingUser, List<String> auths)
-
Uses of User in uk.gov.gchq.gaffer.data.elementdefinition.view.access.predicate.user
Methods in uk.gov.gchq.gaffer.data.elementdefinition.view.access.predicate.user with parameters of type User Modifier and Type Method Description boolean
NamedViewWriteUserPredicate. isResourceCreator(User user)
-
Uses of User in uk.gov.gchq.gaffer.federated.simple.access
Methods in uk.gov.gchq.gaffer.federated.simple.access with parameters of type User Modifier and Type Method Description boolean
GraphAccess. hasReadAccess(User user, String adminAuth)
boolean
GraphAccess. hasWriteAccess(User user, String adminAuth)
-
Uses of User in uk.gov.gchq.gaffer.federatedstore
Methods in uk.gov.gchq.gaffer.federatedstore with parameters of type User Modifier and Type Method Description boolean
FederatedGraphStorage. changeGraphAccess(String graphId, FederatedAccess newFederatedAccess, User requestingUser)
Deprecated.boolean
FederatedGraphStorage. changeGraphAccess(String graphId, FederatedAccess newFederatedAccess, User requestingUser, String adminAuth)
Deprecated.boolean
FederatedStore. changeGraphAccess(User requestingUser, String graphId, FederatedAccess federatedAccess, boolean isAdmin)
boolean
FederatedGraphStorage. changeGraphId(String graphId, String newGraphId, User requestingUser)
Deprecated.boolean
FederatedGraphStorage. changeGraphId(String graphId, String newGraphId, User requestingUser, String adminAuth)
Deprecated.boolean
FederatedStore. changeGraphId(User requestingUser, String graphId, String newGraphId, boolean isAdmin)
Collection<GraphSerialisable>
FederatedGraphStorage. get(User user, List<String> graphIds)
Deprecated.returns all graphs objects matching the given graphIds, that is visible to the user.List<GraphSerialisable>
FederatedGraphStorage. get(User user, List<String> graphIds, String adminAuth)
Deprecated.returns all graphs objects matching the given graphIds, that is visible to the user.Collection<GraphSerialisable>
FederatedGraphStorage. getAll(User user)
Deprecated.Returns all graph object that are visible for the given user.Collection<String>
FederatedStore. getAllGraphIds(User user)
List<String>
FederatedStore. getAllGraphIds(User user, boolean userRequestingAdminUsage)
Map<String,Object>
FederatedStore. getAllGraphsAndAuths(User user, List<String> graphIds, boolean userRequestingAdminUsage)
List<String>
FederatedGraphStorage. getAllIds(User user)
Deprecated.Returns all the graphIds that are visible for the given user.List<String>
FederatedGraphStorage. getAllIds(User user, String adminAuth)
Deprecated.List<GraphSerialisable>
FederatedStore. getGraphs(User user, List<String> graphIds, IFederationOperation operation)
Gets a collection of graph objects within FederatedStore scope from the given csv of graphIds, with visibility of the given user.boolean
FederatedAccess. hasReadAccess(User user, String adminAuth)
Deprecated.boolean
FederatedAccess. hasWriteAccess(User user, String adminAuth)
Deprecated.boolean
FederatedStore. isLimitedToLibraryProperties(User user)
The FederatedStore at time of initialisation, can set the auths required to allow users to use customStoreProperties
outside the scope of theGraphLibrary
.boolean
FederatedStore. isLimitedToLibraryProperties(User user, boolean userRequestingAdminUsage)
boolean
FederatedGraphStorage. remove(String graphId, User user, boolean removeCache)
Deprecated.Removes a graph from storage and returns the success.boolean
FederatedStore. remove(String graphId, User user, boolean removeCache)
Removes graphs from the scope of FederatedStore.boolean
FederatedStore. remove(String graphId, User user, boolean removeCache, boolean asAdmin)
-
Uses of User in uk.gov.gchq.gaffer.federatedstore.access.predicate
Methods in uk.gov.gchq.gaffer.federatedstore.access.predicate with parameters of type User Modifier and Type Method Description boolean
FederatedGraphReadAccessPredicate. test(User user, String adminAuth)
Deprecated.Constructor parameters in uk.gov.gchq.gaffer.federatedstore.access.predicate with type arguments of type User Constructor Description FederatedGraphAccessPredicate(Predicate<User> userPredicate)
Deprecated. -
Uses of User in uk.gov.gchq.gaffer.federatedstore.access.predicate.user
Methods in uk.gov.gchq.gaffer.federatedstore.access.predicate.user with parameters of type User Modifier and Type Method Description boolean
FederatedGraphReadUserPredicate. hasPermission(User user)
Deprecated.boolean
FederatedGraphReadUserPredicate. test(User user)
Deprecated.boolean
FederatedGraphWriteUserPredicate. test(User user)
Deprecated. -
Uses of User in uk.gov.gchq.gaffer.graph
Methods in uk.gov.gchq.gaffer.graph with parameters of type User Modifier and Type Method Description <O> O
Graph. execute(Output<O> operation, User user)
Performs the given output operation on the store.void
Graph. execute(Operation operation, User user)
Performs the given operation on the store.JobDetail
Graph. executeJob(Job job, User user)
Performs the given Job on the store.JobDetail
Graph. executeJob(Operation operation, User user)
Performs the given operation job on the store.Constructors in uk.gov.gchq.gaffer.graph with parameters of type User Constructor Description GraphRequest(Output<O> operation, User user)
GraphRequest(Operation operation, User user)
-
Uses of User in uk.gov.gchq.gaffer.jobtracker
Methods in uk.gov.gchq.gaffer.jobtracker that return User Modifier and Type Method Description User
JobDetail. getUser()
Methods in uk.gov.gchq.gaffer.jobtracker with parameters of type User Modifier and Type Method Description void
JobTracker. addOrUpdateJob(JobDetail jobDetail, User user)
Add or update the job details relating to a job in the job tracker cache.Iterable<JobDetail>
JobTracker. getAllJobs(User user)
Get all jobs from the job tracker cache.JobDetail
JobTracker. getJob(String jobId, User user)
Get the details of a specific job.void
JobDetail. setUser(User user)
JobDetail.Builder
JobDetail.Builder. user(User user)
Constructors in uk.gov.gchq.gaffer.jobtracker with parameters of type User Constructor Description JobDetail(String jobId, String parentJobId, User user, String opChain, String serialisedOperationChain, JobStatus jobStatus, String description, Repeat repeat)
JobDetail(String jobId, String parentJobId, User user, String opChain, JobStatus jobStatus, String description)
JobDetail(String jobId, String parentJobId, User user, OperationChain<?> opChain, JobStatus jobStatus, String description)
JobDetail(String jobId, User user, OperationChain<?> opChain, JobStatus jobStatus, String description)
-
Uses of User in uk.gov.gchq.gaffer.mapstore.impl
Methods in uk.gov.gchq.gaffer.mapstore.impl with parameters of type User Modifier and Type Method Description static Stream<Element>
GetElementsUtil. applyVisibilityFilter(Stream<Element> elements, Schema schema, User user)
-
Uses of User in uk.gov.gchq.gaffer.named.operation
Methods in uk.gov.gchq.gaffer.named.operation with parameters of type User Modifier and Type Method Description boolean
NamedOperationDetail. hasReadAccess(User user, String adminAuth)
boolean
NamedOperationDetail. hasWriteAccess(User user, String adminAuth)
-
Uses of User in uk.gov.gchq.gaffer.operation.export.graph
Methods in uk.gov.gchq.gaffer.operation.export.graph that return User Modifier and Type Method Description User
AuthorisedGraphForExportDelegate. getUser()
Methods in uk.gov.gchq.gaffer.operation.export.graph with parameters of type User Modifier and Type Method Description Graph
AuthorisedGraphForExportDelegate. createGraphInstance(Store store, String graphId, Schema schema, StoreProperties storeProperties, List<String> parentSchemaIds, String parentStorePropertiesId, Map idAuths, User user)
void
AuthorisedGraphForExportDelegate. setUser(User user)
AuthorisedGraphForExportDelegate.Builder
AuthorisedGraphForExportDelegate.Builder. user(User user)
-
Uses of User in uk.gov.gchq.gaffer.rest.factory
Methods in uk.gov.gchq.gaffer.rest.factory that return User Modifier and Type Method Description User
UnknownUserFactory. createUser()
User
UserFactory. createUser()
Create a newUser
object. -
Uses of User in uk.gov.gchq.gaffer.rest.factory.spring
Methods in uk.gov.gchq.gaffer.rest.factory.spring that return User Modifier and Type Method Description User
AbstractUserFactory. createUser()
User
UnknownUserFactory. createUser()
-
Uses of User in uk.gov.gchq.gaffer.spark
Methods in uk.gov.gchq.gaffer.spark with parameters of type User Modifier and Type Method Description static Context
SparkContextUtil. createContext(User user, org.apache.spark.sql.SparkSession sparkSession)
Create a new Context with the given user and spark session.static Context
SparkContextUtil. createContext(User user, StoreProperties storeProperties)
Create a new Context with the given user and store properties -
Uses of User in uk.gov.gchq.gaffer.sparkaccumulo.operation.handler
Methods in uk.gov.gchq.gaffer.sparkaccumulo.operation.handler with parameters of type User Modifier and Type Method Description void
AbstractGetRDDHandler. addIterators(AccumuloStore accumuloStore, org.apache.hadoop.conf.Configuration conf, User user, OP operation)
-
Uses of User in uk.gov.gchq.gaffer.store
Methods in uk.gov.gchq.gaffer.store that return User Modifier and Type Method Description User
Context. getUser()
Methods in uk.gov.gchq.gaffer.store with parameters of type User Modifier and Type Method Description Context
Store. createContext(User user)
Context.Builder
Context.Builder. user(User user)
Constructors in uk.gov.gchq.gaffer.store with parameters of type User Constructor Description Context(User user)
-
Uses of User in uk.gov.gchq.gaffer.store.operation
Methods in uk.gov.gchq.gaffer.store.operation with parameters of type User Modifier and Type Method Description uk.gov.gchq.koryphe.ValidationResult
OperationChainValidator. validate(OperationChain<?> operationChain, User user, Store store)
Validate the providedOperationChain
against theViewValidator
. -
Uses of User in uk.gov.gchq.gaffer.store.operation.handler
Methods in uk.gov.gchq.gaffer.store.operation.handler with parameters of type User Modifier and Type Method Description int
ScoreOperationChainHandler. getChainScore(Operations<?> operations, User user)
-
Uses of User in uk.gov.gchq.gaffer.store.operation.handler.named.cache
Methods in uk.gov.gchq.gaffer.store.operation.handler.named.cache with parameters of type User Modifier and Type Method Description void
NamedOperationCache. addNamedOperation(NamedOperationDetail namedOperation, boolean overwrite, User user)
If the user is just adding to the cache, ie the overwrite flag is set to false, then no security is added.void
NamedOperationCache. addNamedOperation(NamedOperationDetail namedOperation, boolean overwrite, User user, String adminAuth)
If the user is just adding to the cache, ie the overwrite flag is set to false, then no security is added.void
NamedViewCache. addNamedView(NamedViewDetail namedViewDetail, boolean overwrite, User user, String adminAuth)
Adds the suppliedNamedViewDetail
to the cache.void
NamedOperationCache. deleteNamedOperation(String name, User user)
Checks whether aUser
has write access to the cache.void
NamedOperationCache. deleteNamedOperation(String name, User user, String adminAuth)
Checks whether aUser
has write access to the cache.void
NamedViewCache. deleteNamedView(String name, User user)
Removes the specifiedNamedViewDetail
from the cache.void
NamedViewCache. deleteNamedView(String name, User user, String adminAuth)
Removes the specifiedNamedViewDetail
from the cache.Iterable<NamedOperationDetail>
NamedOperationCache. getAllNamedOperations(User user)
Get all the named operations held in the cache.Iterable<NamedOperationDetail>
NamedOperationCache. getAllNamedOperations(User user, String adminAuth)
Get all the named operations held in the cache.Iterable<NamedViewDetail>
NamedViewCache. getAllNamedViews(User user)
Gets all theNamedViewDetail
s from the cache for a user.Iterable<NamedViewDetail>
NamedViewCache. getAllNamedViews(User user, String adminAuth)
Gets all theNamedViewDetail
s from the cache for a user.NamedOperationDetail
NamedOperationCache. getNamedOperation(String name, User user)
First gets the NamedOperationDetail in question and checks whether the user has read access before returning the value.NamedOperationDetail
NamedOperationCache. getNamedOperation(String name, User user, String adminAuth)
First gets the NamedOperationDetail in question and checks whether the user has read access before returning the value.NamedViewDetail
NamedViewCache. getNamedView(String name, User user)
Gets the specifiedNamedViewDetail
from the cache.NamedViewDetail
NamedViewCache. getNamedView(String name, User user, String adminAuth)
Gets the specifiedNamedViewDetail
from the cache. -
Uses of User in uk.gov.gchq.gaffer.tinkerpop
Methods in uk.gov.gchq.gaffer.tinkerpop that return User Modifier and Type Method Description User
GafferPopGraphVariables. getUser()
-
Uses of User in uk.gov.gchq.gaffer.traffic.generator
Constructors in uk.gov.gchq.gaffer.traffic.generator with parameters of type User Constructor Description RoadTrafficDataLoader(Graph graph, User user)
-
Uses of User in uk.gov.gchq.gaffer.user
Methods in uk.gov.gchq.gaffer.user that return User Modifier and Type Method Description User
User.Builder. build()
-