/** * Reconstructs object on unmarshalling. * * @return Reconstructed object. * @throws ObjectStreamException Thrown in case of unmarshalling error. */ private Object readResolve() throws ObjectStreamException { return ctx.grid().security(); } }
/** {@inheritDoc} */ @Override protected Collection<GridSecuritySubject> run(Void arg) throws GridException { if (ENT) return g.security().authenticatedSubjects(); else return Collections.emptyList(); }
@Override public GridSecuritySubject authenticatedSubject(UUID subjId) throws GridException { return ctx.grid().security().authenticatedSubject(subjId); }
@Override public Collection<GridSecuritySubject> authenticatedSubjects() throws GridException { return ctx.grid().security().authenticatedSubjects(); }