Class AbstractSecurityAwareExternalizable<T>
- java.lang.Object
-
- org.apache.ignite.internal.processors.security.AbstractSecurityAwareExternalizable<T>
-
- All Implemented Interfaces:
Externalizable,Serializable,GridInternalWrapper<T>
- Direct Known Subclasses:
SecurityAwareBiPredicate,SecurityAwareFilter,SecurityAwareFilterFactory,SecurityAwarePredicate,SecurityAwareTransformerFactory
public abstract class AbstractSecurityAwareExternalizable<T> extends Object implements Externalizable, GridInternalWrapper<T>
Abstract security aware Externalizable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSecurityAwareExternalizable()Default constructor.protectedAbstractSecurityAwareExternalizable(UUID subjectId, T original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidlogAccessDeniedMessage(AccessControlException e)Writes access denied message.voidreadExternal(ObjectInput in)TuserObject()Get user object where resources must be injected.voidwriteExternal(ObjectOutput out)
-
-
-
Field Detail
-
subjectId
protected UUID subjectId
Security subject id.
-
original
protected T original
Original component.
-
ignite
@IgniteInstanceResource protected transient IgniteEx ignite
Ignite.
-
-
Method Detail
-
logAccessDeniedMessage
protected void logAccessDeniedMessage(AccessControlException e)
Writes access denied message.- Parameters:
e- Exception to log.
-
userObject
public T userObject()
Get user object where resources must be injected.- Specified by:
userObjectin interfaceGridInternalWrapper<T>- Returns:
- User object.
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-