Class PolicyParser.PrincipalEntry
java.lang.Object
net.adoptopenjdk.icedteaweb.client.policyeditor.PolicyParser.PrincipalEntry
- All Implemented Interfaces:
Principal
- 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 the Principal class and Principal name. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest for equality between the specified object and this object.getDisplayName(boolean addQuote) getName()inthashCode()Return a hashcode for this PrincipalEntry.(package private) boolean(package private) boolean(package private) booleantoString()voidwrite(PrintWriter out)
-
Field Details
-
Constructor Details
-
PrincipalEntry
A PrincipalEntry consists of the Principal class and Principal name.- Parameters:
principalClass- the Principal classprincipalName- the Principal name- Throws:
NullPointerException- if principalClass or principalName are null
-
-
Method Details
-
isWildcardName
boolean isWildcardName() -
isWildcardClass
boolean isWildcardClass() -
isReplaceName
boolean isReplaceName() -
getPrincipalClass
-
getPrincipalName
-
getDisplayClass
-
getDisplayName
-
getDisplayName
-
getName
-
toString
-
equals
Test for equality between the specified object and this object. Two PrincipalEntries are equal if their class and name values are equal. -
hashCode
public int hashCode()Return a hashcode for this PrincipalEntry. -
write
-