com.sun.enterprise.deployment
Class ResourcePrincipal
java.lang.Object
org.glassfish.security.common.PrincipalImpl
com.sun.enterprise.deployment.ResourcePrincipal
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal
public class ResourcePrincipal
- extends PrincipalImpl
This class encapsulates the Resource Principal information needed
to access the Resource.
- Author:
- Tony Ng
- See Also:
- Serialized Form
|
Constructor Summary |
ResourcePrincipal(java.lang.String name,
java.lang.String password)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ResourcePrincipal
public ResourcePrincipal(java.lang.String name,
java.lang.String password)
getPassword
public java.lang.String getPassword()
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in interface java.security.Principal- Overrides:
equals in class PrincipalImpl
hashCode
public int hashCode()
- Specified by:
hashCode in interface java.security.Principal- Overrides:
hashCode in class PrincipalImpl
Copyright © 2012 GlassFish Community. All Rights Reserved.