Class PolicyParser.PrincipalEntry
java.lang.Object
com.sun.ts.lib.util.sec.security.provider.PolicyParser.PrincipalEntry
- Enclosing class:
- PolicyParser
Principal info (class and name) in a grant entry
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrincipalEntry
(String principalClass, String principalName) A PrincipalEntry consists of thePrincipal
class andPrincipal
name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Test for equality between the specified object and this object.getDisplayName
(boolean addQuote) int
hashCode()
Return a hashcode for thisPrincipalEntry
.toString()
void
write
(PrintWriter out)
-
Field Details
-
WILDCARD_CLASS
- See Also:
-
WILDCARD_NAME
- See Also:
-
-
Constructor Details
-
PrincipalEntry
A PrincipalEntry consists of thePrincipal
class andPrincipal
name.- Parameters:
principalClass
- thePrincipal
class.principalName
- thePrincipal
name.
-
-
Method Details
-
getPrincipalClass
-
getPrincipalName
-
getDisplayClass
-
getDisplayName
-
getDisplayName
-
toString
-
equals
Test for equality between the specified object and this object. Two PrincipalEntries are equal if their PrincipalClass and PrincipalName values are equal. -
hashCode
public int hashCode()Return a hashcode for thisPrincipalEntry
. -
write
-