Authenticator.RequestPasswordAuthentication 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
RequestPasswordAuthentication(InetAddress, Int32, String, String, String) |
시스템에 등록된 인증자에게 암호를 요청합니다. |
RequestPasswordAuthentication(String, InetAddress, Int32, String, String, String) |
시스템에 등록된 인증자에게 암호를 요청합니다. |
RequestPasswordAuthentication(String, InetAddress, Int32, String, String, String, URL, Authenticator+RequestorType) |
시스템에 등록된 인증자에게 암호를 요청합니다. |
RequestPasswordAuthentication(InetAddress, Int32, String, String, String)
시스템에 등록된 인증자에게 암호를 요청합니다.
[Android.Runtime.Register("requestPasswordAuthentication", "(Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/PasswordAuthentication;", "")]
public static Java.Net.PasswordAuthentication? RequestPasswordAuthentication(Java.Net.InetAddress? addr, int port, string? protocol, string? prompt, string? scheme);
[<Android.Runtime.Register("requestPasswordAuthentication", "(Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/PasswordAuthentication;", "")>]
static member RequestPasswordAuthentication : Java.Net.InetAddress * int * string * string * string -> Java.Net.PasswordAuthentication
매개 변수
- addr
- InetAddress
권한 부여를 요청하는 사이트의 InetAddress이거나, 알 수 없는 경우 null입니다.
- port
- Int32
요청된 연결의 포트
- protocol
- String
연결을 요청하는 프로토콜(java.net.Authenticator#getRequestingProtocol()
)
- prompt
- String
사용자에 대한 프롬프트 문자열
- scheme
- String
인증 체계
반환
사용자 이름/암호이거나, 받을 수 없는 경우 null입니다.
- 특성
설명
시스템에 등록된 인증자에게 암호를 요청합니다.
먼저 보안 관리자가 있는 경우 해당 checkPermission
메서드는 사용 권한으로 NetPermission("requestPasswordAuthentication")
호출됩니다. 이로 인해 java.lang.SecurityException이 발생할 수 있습니다.
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.
적용 대상
RequestPasswordAuthentication(String, InetAddress, Int32, String, String, String)
시스템에 등록된 인증자에게 암호를 요청합니다.
[Android.Runtime.Register("requestPasswordAuthentication", "(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/PasswordAuthentication;", "")]
public static Java.Net.PasswordAuthentication? RequestPasswordAuthentication(string? host, Java.Net.InetAddress? addr, int port, string? protocol, string? prompt, string? scheme);
[<Android.Runtime.Register("requestPasswordAuthentication", "(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/PasswordAuthentication;", "")>]
static member RequestPasswordAuthentication : string * Java.Net.InetAddress * int * string * string * string -> Java.Net.PasswordAuthentication
매개 변수
- host
- String
인증을 요청하는 사이트의 호스트 이름입니다.
- addr
- InetAddress
인증을 요청하는 사이트의 InetAddress이거나, 알 수 없는 경우 null입니다.
- port
- Int32
요청된 연결의 포트입니다.
- protocol
- String
연결을 요청하는 프로토콜(java.net.Authenticator#getRequestingProtocol()
)
- prompt
- String
인증 영역을 식별하는 사용자에 대한 프롬프트 문자열입니다.
- scheme
- String
인증 체계
반환
사용자 이름/암호이거나, 받을 수 없는 경우 null입니다.
- 특성
설명
시스템에 등록된 인증자에게 암호를 요청합니다. InetAddress를 사용할 수 없는 경우 호스트 이름을 제공할 수 있으므로 암호를 요청하는 기본 방법입니다.
먼저 보안 관리자가 있는 경우 해당 checkPermission
메서드는 사용 권한으로 NetPermission("requestPasswordAuthentication")
호출됩니다. 이로 인해 java.lang.SecurityException이 발생할 수 있습니다.
1.4에 추가되었습니다.
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.
적용 대상
RequestPasswordAuthentication(String, InetAddress, Int32, String, String, String, URL, Authenticator+RequestorType)
시스템에 등록된 인증자에게 암호를 요청합니다.
[Android.Runtime.Register("requestPasswordAuthentication", "(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;", "")]
public static Java.Net.PasswordAuthentication? RequestPasswordAuthentication(string? host, Java.Net.InetAddress? addr, int port, string? protocol, string? prompt, string? scheme, Java.Net.URL? url, Java.Net.Authenticator.RequestorType? reqType);
[<Android.Runtime.Register("requestPasswordAuthentication", "(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;", "")>]
static member RequestPasswordAuthentication : string * Java.Net.InetAddress * int * string * string * string * Java.Net.URL * Java.Net.Authenticator.RequestorType -> Java.Net.PasswordAuthentication
매개 변수
- host
- String
인증을 요청하는 사이트의 호스트 이름입니다.
- addr
- InetAddress
인증을 요청하는 사이트의 InetAddress이거나, 알 수 없는 경우 null입니다.
- port
- Int32
요청된 연결의 포트입니다.
- protocol
- String
연결을 요청하는 프로토콜(java.net.Authenticator#getRequestingProtocol()
)
- prompt
- String
인증 영역을 식별하는 사용자에 대한 프롬프트 문자열입니다.
- scheme
- String
인증 체계
- url
- URL
- reqType
- Authenticator.RequestorType
인증을 요청하는 연결의 요청자 유형입니다.
반환
사용자 이름/암호이거나, 받을 수 없는 경우 null입니다.
- 특성
설명
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.