Lines Matching defs:CertAuthPrincipal
25 * $Id: CertAuthPrincipal.java,v 1.2 2008/06/25 05:41:55 qcheng Exp $
36 public class CertAuthPrincipal implements Principal, java.io.Serializable {
39 public CertAuthPrincipal(String name) {
47 * Returns the username for this <code>CertAuthPrincipal</code>.
49 * @return the username for this <code>CertAuthPrincipal</code>
56 * Returns a string representation of this <code>CertAuthPrincipal</code>.
58 * @return a string representation of this <code>CertAuthPrincipal</code>.
61 return("CertAuthPrincipal: " + name);
65 * Compares the specified Object with this <code>CertAuthPrincipal</code>
67 * <code>CertAuthPrincipal</code> and the two CertAuthPrincipals
71 * <code>CertAuthPrincipal</code>.
73 * <code>CertAuthPrincipal</code>.
84 if (!(o instanceof CertAuthPrincipal)) {
88 CertAuthPrincipal that = (CertAuthPrincipal)o;
93 * Returns a hash code for this <code>CertAuthPrincipal</code>.
95 * @return a hash code for this <code>CertAuthPrincipal</code>.