|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.net.PasswordAuthentication
public final class PasswordAuthentication
PasswordAuthentication Ŭ·¡½º´Â Authenticator °¡ »ç¿ëÇÏ´Â µ¥ÀÌÅÍ È¦´õÀÔ´Ï´Ù. À̰ÍÀº, À¯Àú¸í°ú ÆÐ½º¿öµå¸¦ À§ÇÑ ¸®Æ÷ÁöÅ͸®(repository)¿¡ Áö³ªÁö ¾Ê½À´Ï´Ù.
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 |
»ý¼ºÀÚ »ó¼¼ |
---|
public PasswordAuthentication(String userName, char[] password)
PasswordAuthentication
¿ÀºêÁ§Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
ÁöÁ¤µÈ À¯Àú ÆÐ½º¿öµå°¡ º¹Á¦µÇ¾î »õ·Î¿î PasswordAuthentication
¿¡ Æ÷ÇԵ˴ϴÙ.
userName
- À¯Àú¸ípassword
- À¯ÀúÀÇ ÆÐ½º¿öµå¸Þ¼µåÀÇ »ó¼¼ |
---|
public String getUserName()
public char[] getPassword()
ÀÌ ¸Þ¼µå´Â ÆÐ½º¿öµå¿¡ÀÇ ÂüÁ¶¸¦ µ¹·ÁÁÝ´Ï´Ù. ºÒÇÊ¿äÇÏ°Ô µÈ ÆÐ½º¿öµå Á¤º¸¸¦ Á¦·Î·Î ÇÏ´Â (¼Ò°ÅÇÑ´Ù) °ÍÀº, È£ÃâÃøÀÇ Ã¥ÀÓÀÔ´Ï´Ù.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.