private void writeObject(ObjectOutputStream oos) throws IOException { oos.writeObject(principal); HTTPAuthScope.serializeScope(scope, oos); if(provider instanceof Serializable) oos.writeObject(provider); else oos.writeObject(provider.getClass()); }
private void writeObject(ObjectOutputStream oos) throws IOException { oos.writeObject(principal); HTTPAuthScope.serializeScope(scope, oos); if(provider instanceof Serializable) oos.writeObject(provider); else oos.writeObject(provider.getClass()); }