@Override
        protected Class<?> resolveProxyClass(String[] interfaces) throws ClassNotFoundException {
            throw new ClassNotFoundException("Wont resolve proxy classes at all.");
        }
Restricted <code>ObjectInputStream</code> for security reasons.
pac4j-core/src/main/java/org/pac4j/core/util/serializer/JavaSerializer.java