Class GetDeniedPiiFieldsTask
java.lang.Object
com.gigaspaces.internal.client.spaceproxy.executors.SystemTask<GetDeniedPiiFieldsResponseInfo>
com.gigaspaces.internal.client.spaceproxy.executors.GetDeniedPiiFieldsTask
- All Implemented Interfaces:
SpaceTask<GetDeniedPiiFieldsResponseInfo>, SmartExternalizable, Externalizable, Serializable
Retrieves the PII properties the caller lacks read privileges for (field level security).
Used by SQL engines to omit such properties from
SELECT * and to validate queries.
Executed on a single partition (types and privileges are identical in all partitions), so the requesting user's security context is valid for the target partition.
- Since:
- 18.0.1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDeniedPiiFields(ISpaceProxy proxy, Collection<ITypeDesc> typeDescs) Retrieves the PII properties the user of the specified proxy lacks read privileges for, per type name.voidvoidMethods inherited from class SystemTask
executeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
GetDeniedPiiFieldsTask
public GetDeniedPiiFieldsTask() -
GetDeniedPiiFieldsTask
-
-
Method Details
-
getDeniedPiiFields
public static Map<String, Set<String>> getDeniedPiiFields(ISpaceProxy proxy, Collection<ITypeDesc> typeDescs) Retrieves the PII properties the user of the specified proxy lacks read privileges for, per type name. Types without PII properties (per the proxy's type descriptors) are not sent to the space. -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classSystemTask<GetDeniedPiiFieldsResponseInfo>- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classSystemTask<GetDeniedPiiFieldsResponseInfo>- Throws:
IOExceptionClassNotFoundException
-
getSpaceRequestInfo
- Specified by:
getSpaceRequestInfoin classSystemTask<GetDeniedPiiFieldsResponseInfo>
-