Class LoginPermission
- java.lang.Object
-
- java.security.Permission
-
- org.wildfly.security.permission.AbstractPermission<This>
-
- org.wildfly.security.permission.AbstractBooleanPermission<LoginPermission>
-
- org.wildfly.security.auth.permission.LoginPermission
-
- All Implemented Interfaces:
Serializable
,Guard
,PermissionVerifier
public final class LoginPermission extends AbstractBooleanPermission<LoginPermission>
Establish whether the current identity has permission to complete an authentication ("log in").- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static LoginPermission
INSTANCE
private static long
serialVersionUID
-
Fields inherited from interface org.wildfly.security.permission.PermissionVerifier
ALL, NONE
-
-
Constructor Summary
Constructors Constructor Description LoginPermission()
Construct a new instance.LoginPermission(String name)
Construct a new instance.LoginPermission(String name, String actions)
Construct a new instance.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoginPermission
getInstance()
Get the instance of this class.-
Methods inherited from class org.wildfly.security.permission.AbstractBooleanPermission
equals, hashCode, implies, newPermissionCollection
-
Methods inherited from class org.wildfly.security.permission.AbstractPermission
equals, getActions, implies, requireEmptyActions
-
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.permission.PermissionVerifier
and, checkPermission, not, or, toPermissionCollection, unless, xor
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
INSTANCE
private static final LoginPermission INSTANCE
-
-
Constructor Detail
-
LoginPermission
public LoginPermission()
Construct a new instance.
-
LoginPermission
public LoginPermission(String name)
Construct a new instance.- Parameters:
name
- ignored
-
-
Method Detail
-
getInstance
public static LoginPermission getInstance()
Get the instance of this class.- Returns:
- the instance of this class
-
-