com.liferay.portal.kernel.servlet
Class ProtectedPrincipal
java.lang.Object
com.liferay.portal.kernel.servlet.ProtectedPrincipal
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal
- Direct Known Subclasses:
- PortalPrincipal
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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ProtectedPrincipal
public ProtectedPrincipal()
ProtectedPrincipal
public ProtectedPrincipal(java.lang.String name)
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- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface java.security.Principal- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString in interface java.security.Principal- Overrides:
toString in class java.lang.Object