src/java.base/share/classes/javax/security/auth/callback/ConfirmationCallback.java
changeset 53563 a4b7ea85d668
parent 53018 8bf9268df0e2
child 57950 4612a3cfb927
equal deleted inserted replaced
53559:1ae0b76bb5df 53563:a4b7ea85d668
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    56      * with either {@code YES} or {@code NO}.
    56      * with either {@code YES} or {@code NO}.
    57      */
    57      */
    58     public static final int YES_NO_OPTION               = 0;
    58     public static final int YES_NO_OPTION               = 0;
    59 
    59 
    60     /**
    60     /**
    61      * YES/NO/CANCEL confirmation confirmation option.
    61      * YES/NO/CANCEL confirmation option.
    62      *
    62      *
    63      * <p> An underlying security service specifies this as the
    63      * <p> An underlying security service specifies this as the
    64      * {@code optionType} to a {@code ConfirmationCallback}
    64      * {@code optionType} to a {@code ConfirmationCallback}
    65      * constructor if it requires a confirmation which can be answered
    65      * constructor if it requires a confirmation which can be answered
    66      * with either {@code YES}, {@code NO} or {@code CANCEL}.
    66      * with either {@code YES}, {@code NO} or {@code CANCEL}.
    67      */
    67      */
    68     public static final int YES_NO_CANCEL_OPTION        = 1;
    68     public static final int YES_NO_CANCEL_OPTION        = 1;
    69 
    69 
    70     /**
    70     /**
    71      * OK/CANCEL confirmation confirmation option.
    71      * OK/CANCEL confirmation option.
    72      *
    72      *
    73      * <p> An underlying security service specifies this as the
    73      * <p> An underlying security service specifies this as the
    74      * {@code optionType} to a {@code ConfirmationCallback}
    74      * {@code optionType} to a {@code ConfirmationCallback}
    75      * constructor if it requires a confirmation which can be answered
    75      * constructor if it requires a confirmation which can be answered
    76      * with either {@code OK} or {@code CANCEL}.
    76      * with either {@code OK} or {@code CANCEL}.