com.liferay.util.servlet
Class ProtectedPrincipal

java.lang.Object
  extended bycom.liferay.util.servlet.ProtectedPrincipal
All Implemented Interfaces:
java.security.Principal, java.io.Serializable

public class ProtectedPrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Constructor Summary
ProtectedPrincipal()
           
ProtectedPrincipal(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtectedPrincipal

public ProtectedPrincipal()

ProtectedPrincipal

public ProtectedPrincipal(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.security.Principal

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal