JavaTM 2 Platform
Standard Ed. 5.0

java.net
Ŭ·¡½º PasswordAuthentication

java.lang.Object 
  »óÀ§¸¦ È®Àå java.net.PasswordAuthentication

public final class PasswordAuthentication
extends Object

PasswordAuthentication Ŭ·¡½º´Â Authenticator °¡ »ç¿ëÇÏ´Â µ¥ÀÌÅÍ È¦´õÀÔ´Ï´Ù. À̰ÍÀº, À¯Àú¸í°ú ÆÐ½º¿öµå¸¦ À§ÇÑ ¸®Æ÷ÁöÅ͸®(repository)¿¡ Áö³ªÁö ¾Ê½À´Ï´Ù.

µµÀÔµÈ ¹öÁ¯:
1.2
°ü·Ã Ç׸ñ:
Authenticator, Authenticator.getPasswordAuthentication()

»ý¼ºÀÚ °³¿ä
PasswordAuthentication (String  userName, char[] password)
          ÁöÁ¤µÈ À¯Àú¸í ¹× ÆÐ½º¿öµå·ÎºÎÅÍ, »õ·Î¿î PasswordAuthentication ¿ÀºêÁ§Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 char[] getPassword ()
          À¯ÀúÀÇ ÆÐ½º¿öµå¸¦ µ¹·ÁÁÝ´Ï´Ù.
 String getUserName ()
          À¯Àú¸íÀ» µ¹·ÁÁÝ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

PasswordAuthentication

public PasswordAuthentication(String  userName,
                              char[] password)
ÁöÁ¤µÈ À¯Àú¸í ¹× ÆÐ½º¿öµå·ÎºÎÅÍ, »õ·Î¿î PasswordAuthentication ¿ÀºêÁ§Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

ÁöÁ¤µÈ À¯Àú ÆÐ½º¿öµå°¡ º¹Á¦µÇ¾î »õ·Î¿î PasswordAuthentication ¿¡ Æ÷ÇԵ˴ϴÙ.

ÆÄ¶ó¹ÌÅÍ:
userName - À¯Àú¸í
password - À¯ÀúÀÇ ÆÐ½º¿öµå
¸Þ¼­µåÀÇ »ó¼¼

getUserName

public String  getUserName()
À¯Àú¸íÀ» µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
À¯Àú¸í

getPassword

public char[] getPassword()
À¯ÀúÀÇ ÆÐ½º¿öµå¸¦ µ¹·ÁÁÝ´Ï´Ù.

ÀÌ ¸Þ¼­µå´Â ÆÐ½º¿öµå¿¡ÀÇ ÂüÁ¶¸¦ µ¹·ÁÁÝ´Ï´Ù. ºÒÇÊ¿äÇÏ°Ô µÈ ÆÐ½º¿öµå Á¤º¸¸¦ Á¦·Î·Î ÇÏ´Â (¼Ò°ÅÇÑ´Ù) °ÍÀº, È£ÃâÃøÀÇ Ã¥ÀÓÀÔ´Ï´Ù.

¹Ýȯ°ª:
ÆÐ½º¿öµå

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.