W3cubDocs

/OpenJDK 21

Class AppConfigurationEntry.LoginModuleControlFlag

java.lang.Object
javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag
Enclosing class:
AppConfigurationEntry
public static class AppConfigurationEntry.LoginModuleControlFlag extends Object
This class represents whether a LoginModule is REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL.

Field Summary

Modifier and Type Field Description
static final AppConfigurationEntry.LoginModuleControlFlag OPTIONAL
Optional LoginModule.
static final AppConfigurationEntry.LoginModuleControlFlag REQUIRED
Required LoginModule.
static final AppConfigurationEntry.LoginModuleControlFlag REQUISITE
Requisite LoginModule.
static final AppConfigurationEntry.LoginModuleControlFlag SUFFICIENT
Sufficient LoginModule.

Method Summary

Modifier and Type Method Description
String toString()
Return a String representation of this controlFlag.

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Details

REQUIRED

public static final AppConfigurationEntry.LoginModuleControlFlag REQUIRED
Required LoginModule.

REQUISITE

public static final AppConfigurationEntry.LoginModuleControlFlag REQUISITE
Requisite LoginModule.

SUFFICIENT

public static final AppConfigurationEntry.LoginModuleControlFlag SUFFICIENT
Sufficient LoginModule.

OPTIONAL

public static final AppConfigurationEntry.LoginModuleControlFlag OPTIONAL
Optional LoginModule.

Method Details

toString

public String toString()
Return a String representation of this controlFlag.

The String has the format, "LoginModuleControlFlag: flag", where flag is either required, requisite, sufficient, or optional.

Overrides:
toString in class Object
Returns:
a String representation of this controlFlag.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/javax/security/auth/login/AppConfigurationEntry.LoginModuleControlFlag.html