public class ResourcePrincipal extends PrincipalImpl
| Constructor and Description |
|---|
ResourcePrincipal(String name,
String password) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
This function returns true if the object passed matches the principal represented in this implementation
|
String |
getPassword() |
int |
hashCode()
Returns the hashcode for this Principal object
|
getName, toStringpublic String getPassword()
public boolean equals(Object o)
PrincipalImplequals in interface Principalequals in class PrincipalImplo - the Principal to compare with.public int hashCode()
PrincipalImplhashCode in interface PrincipalhashCode in class PrincipalImplCopyright © 2019. All rights reserved.