|
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 µµ ÂüÁ¶ÇϽʽÿÀ.