org.eclipse.equinox.p2.core
public abstract class UIServices extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UIServices.AuthenticationInfo
Authentication information returned from an authentication prompt request.
|
static class |
UIServices.TrustInfo
Trust information returned from a trust request
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME
Service name constant for the UI service.
|
| Constructor and Description |
|---|
UIServices() |
| Modifier and Type | Method and Description |
|---|---|
abstract UIServices.TrustInfo |
getTrustInfo(Certificate[][] untrustedChain,
String[] unsignedDetail)
Opens a UI prompt to capture information about trusted content.
|
abstract UIServices.AuthenticationInfo |
getUsernamePassword(String location)
Opens a UI prompt for authentication details
|
abstract UIServices.AuthenticationInfo |
getUsernamePassword(String location,
UIServices.AuthenticationInfo previousInfo)
Opens a UI prompt for authentication details when cached or remembered details
where not accepted.
|
public static final String SERVICE_NAME
public abstract UIServices.AuthenticationInfo getUsernamePassword(String location)
location - - the location requiring login details, may be null.public abstract UIServices.AuthenticationInfo getUsernamePassword(String location, UIServices.AuthenticationInfo previousInfo)
location - the location requiring login detailspreviousInfo - - the previously used authentication details - may not be null.public abstract UIServices.TrustInfo getTrustInfo(Certificate[][] untrustedChain, String[] unsignedDetail)
untrustedChain - - an array of certificate chains for which there is no current trust anchor. May be
null, which means there are no untrusted certificate chains.unsignedDetail - - an array of strings, where each String describes content that is not signed.
May be null, which means there is no unsigned contentGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.