|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
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 Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.