Package org.wildfly.naming.security
Class SimpleNamePermissions
- java.lang.Object
-
- org.wildfly.naming.security.SimpleNamePermissions
-
public final class SimpleNamePermissions extends Object
A class which supports usingSimpleNameinstances for permission names.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanimpliesName(SimpleName myName, SimpleName otherName)Determine whether the first name implies the second name.
-
-
-
Method Detail
-
impliesName
public static boolean impliesName(SimpleName myName, SimpleName otherName)
Determine whether the first name implies the second name.- Parameters:
myName- the first name (must not benull)otherName- the second name (must not benull)- Returns:
trueif the first name implies the second name,falseotherwise
-
-