javax.resource.spi.security
Ŭ·¡½º PasswordCredential

java.lang.Object
  |
  +--javax.resource.spi.security.PasswordCredential
¸ðµç ½ÇÀå ÀÎÅÍÆäÀ̽º:
java.io.Serializable

public final class PasswordCredential
extends java.lang.Object
implements java.io.Serializable

PasswordCredential Ŭ·¡½º´Â, À¯Àú¸í°ú ÆÐ½º¿öµåÀÇ È¦´õ·Î¼­ ±â´ÉÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÁ¯:
0.6
°ü·Ã Ç׸ñ:
ManagedConnectionFactory , Á÷·ÄÈ­ µÈ Çü½Ä

constructor¡¡ ¡¡ ÀÇ °³¿ä
PasswordCredential (java.lang.String userName, char[] password)
          ÁöÁ¤µÈ À¯Àú¸í ¹× ÆÐ½º¿öµå·ÎºÎÅÍ, »õ·Î¿î PasswordCredential ¿ÀºêÁ§Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 
¸Þ¼ÒµåÀÇ °³¿ä
 boolean equals (java.lang.Object other)
          ÀÌ PasswordCredential ¿Í ÁöÁ¤µÈ ¿ÀºêÁ§Æ®°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö ºñ±³ÇÕ´Ï´Ù.
 ManagedConnectionFactory getManagedConnectionFactory ()
          ¾îÇø®ÄÉÀÌ¼Ç ¼­¹ö¿¡ ÀÇÇØ À¯Àú¸í°ú ÆÐ½º¿öµå°¡ ¼³Á¤µÇ¾î ÀÖ´Â, Ÿ°ÙÀÇ ManagedConnectionFactory ¸¦ ÃëµæÇÕ´Ï´Ù.
 char[] getPassword ()
          À¯ÀúÀÇ ÆÐ½º¿öµå¸¦ µ¹·ÁÁÝ´Ï´Ù.
 java.lang.String getUserName ()
          À¯Àú¸íÀ» µ¹·ÁÁÝ´Ï´Ù.
 int hashCode ()
          ÀÌ PasswordCredential ÀÇ ÇØ½Ã Äڵ带 µ¹·ÁÁÝ´Ï´Ù.
 void setManagedConnectionFactory (ManagedConnectionFactory  mcf)
          ¾îÇø®ÄÉÀÌ¼Ç ¼­¹ö¿¡ ÀÇÇØ À¯Àú¸í°ú ÆÐ½º¿öµå°¡ ¼³Á¤µÇ¾î Àִ Ÿ°ÙÀÇ ManagedConenctionFactory ÀνºÅϽº¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang.Object ·ÎºÎÅÍ °è½ÂÇÑ ¸Þ¼Òµå
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

constructor¡¡ ¡¡ ÀÇ »ó¼¼

PasswordCredential

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

ÁöÁ¤µÈ À¯Àú ÆÐ½º¿öµå´Â, »õ·Î¿î PasswordCredential ¿¡ °Ý³³µÇ±â Àü¿¡ º¹Á¦µË´Ï´Ù.

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

getUserName

public java.lang.String getUserName()
À¯Àú¸íÀ» µ¹·ÁÁÝ´Ï´Ù.
¹Ýȯ°ª:
À¯Àú¸í

getPassword

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

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

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

getManagedConnectionFactory

public ManagedConnectionFactory  getManagedConnectionFactory()
¾îÇø®ÄÉÀÌ¼Ç ¼­¹ö¿¡ ÀÇÇØ À¯Àú¸í°ú ÆÐ½º¿öµå°¡ ¼³Á¤µÇ¾î ÀÖ´Â, Ÿ°ÙÀÇ ManagedConnectionFactory ¸¦ ÃëµæÇÕ´Ï´Ù. ManagedConnection- Factory ´Â ÀÌ Çʵ带 »ç¿ëÇØ, Ÿ°ÙÀÇ EIS ÀνºÅϽº¿¡ ½ÎÀο Çϱâ À§Çؼ­ PasswordCredential ¸¦ »ç¿ëÇØ¾ßÇÒ °ÍÀΰ¡ Á¦¹ßÀ» ½Äº°ÇÕ´Ï´Ù.
¹Ýȯ°ª:
À¯Àú¸í°ú ÆÐ½º¿öµå°¡ ÁöÁ¤µÇ¾î ÀÖ´Â ManagedConnectionFactory ÀνºÅϽº

setManagedConnectionFactory

public void setManagedConnectionFactory(ManagedConnectionFactory  mcf)
¾îÇø®ÄÉÀÌ¼Ç ¼­¹ö¿¡ ÀÇÇØ À¯Àú¸í°ú ÆÐ½º¿öµå°¡ ¼³Á¤µÇ¾î Àִ Ÿ°ÙÀÇ ManagedConenctionFactory ÀνºÅϽº¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
mcf - À¯Àú¸í°ú ÆÐ½º¿öµå°¡ ÁöÁ¤µÇ¾î ÀÖ´Â ManagedConnectionFactory ÀνºÅϽº

equals

public boolean equals(java.lang.Object other)
ÀÌ PasswordCredential ¿Í ÁöÁ¤µÈ ¿ÀºêÁ§Æ®°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö ºñ±³ÇÕ´Ï´Ù. 2 °³ÀÇ PasswordCredential ÀνºÅϽº´Â, À¯Àú¸í°ú ÆÐ½º¿öµå°¡ ÀÏÄ¡ÇÏ¸é °°½À´Ï´Ù.
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º java.lang.Object ³»ÀÇ equals
ÆÄ¶ó¹ÌÅÍ:
other - PasswordCredential ¶ó°í ºñ±³µÇ´Â ¿ÀºêÁ§Æ®
¹Ýȯ°ª:
ÁöÁ¤µÈ ¿ÀºêÁ§Æ®°¡ ÀÌ ÀνºÅϽº¿Í °°Àº À¯Àú¸íÀ¸·Î ÆÐ½º¿öµå¸¦ °¡Áö´Â PasswordCredential ÀÇ °æ¿ì´Â true

hashCode

public int hashCode()
ÀÌ PasswordCredential ÀÇ ÇØ½Ã Äڵ带 µ¹·ÁÁÝ´Ï´Ù.
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º java.lang.Object ³»ÀÇ hashCode
¹Ýȯ°ª:
ÀÌ PasswordCredential ÀÇ ÇØ½Ã ÄÚµå


Copyright 2002 Sun Microsystems, Inc. All rights reserved.
»ç¿ë¿¡´Â»ç¿ë Çã¶ô °è¾àÀÌ Àû¿ëµË´Ï´Ù.