package io.core9.module.auth.wrappers;

import io.core9.plugin.server.VirtualHost;

public class UsernameVirtualHostPrincipal {

	private VirtualHost vhost;
	private String username;
	
	public VirtualHost getVirtualHost() {
		return vhost;
	}
	
	public String getUsername() {
		return username;
	}
	
	public UsernameVirtualHostPrincipal(VirtualHost vhost, String username) {
		this.vhost = vhost;
		this.username = username;
	}
}

@@ -33,16 +33,46 @@
 ppers;%0A%0A
+import java.io.Serializable;%0A%0A
 import i
@@ -149,18 +149,110 @@
 incipal 
-%7B%0A
+implements Serializable %7B%0A%0A%09private static final long serialVersionUID = 2097482760827132620L;
 %0A%09privat

Use Serialized