Class InquireSecContextPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
com.sun.security.jgss.InquireSecContextPermission
- All Implemented Interfaces:
Serializable
,Guard
This class is for GSS security context permissions.
The target name is the InquireType
allowed.
- API Note:
- This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- Since:
- 1.7
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a newInquireSecContextPermission
object with the specified name. -
Method Summary
Methods declared in class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
Methods declared in class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
InquireSecContextPermission
Constructs a newInquireSecContextPermission
object with the specified name. The name is the symbolic name of theInquireType
allowed.- Parameters:
name
- theInquireType
allowed by this permission. "*" means allInquireType
s are allowed.- Throws:
NullPointerException
- ifname
isnull
.IllegalArgumentException
- ifname
is empty.
-