Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


PasswordCallbackjavax.security.auth.callback

Java 1.4serializable

This
Callback class
represents a request for a password. A
CallbackHandler should handle it by displaying the
prompt returned by getPrompt( ) and then allowing
the user the enter a password. When the user has entered the
password, it should pass the entered text to setPassword(
)
. If isEchoOn(
) returns true, then the Handler should
display the password as the user types it.


Figure 19-10. javax.security.auth.callback.PasswordCallback

public class

PasswordCallback implements Callback, Serializable {
// Public Constructors
public

PasswordCallback (String

prompt , boolean

echoOn );
// Public Instance Methods
public void

clearPassword ( );
public char[ ]

getPassword ( );
public String

getPrompt ( );
public boolean

isEchoOn ( );
public void

setPassword (char[ ]

password );
}



    / 1191