@@ -0,0 +1,515 @@
+package solutions.digamma.damas.jaas;%0A%0Aimport java.io.Serializable;%0Aimport java.security.Principal;%0A%0A/**%0A * Simple %7B@link Principal%7D implementation.%0A *%0A * @author Ahmad Shahwan%0A */%0Apublic class NamedPrincipal implements Principal, Serializable %7B%0A%0A    private final String name;%0A%0A    /**%0A     * Constructor.%0A     *%0A     * @param name      principal's name%0A     */%0A    public NamedPrincipal(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    @Override%0A    public String getName() %7B%0A        return this.name;%0A    %7D%0A%7D%0A

Add general-purpose principal implementation