UIServices$AuthenticationInfo.getUserName
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.eclipse.equinox.p2.core.UIServices$AuthenticationInfo.getUserName (Showing top 12 results out of 315)

  • Common ways to obtain UIServices$AuthenticationInfo
private void myMethod () {
UIServices$AuthenticationInfo u =
  • URI location;UIServices.AuthenticationInfo lastUsed;Credentials.forLocation(location, prompt, lastUsed)
  • Smart code suggestions by Codota
}
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
origin: org.eclipse.platform/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
origin: org.eclipse.equinox.p2/ui

private String getUserName() {
  return result != null ? result.getUserName() : ""; //$NON-NLS-1$
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
origin: org.eclipse.platform/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
origin: org.eclipse.equinox.p2/repository

boolean useLatest = false;
if (latest != null && lastUsed != null)
  if (!(latest.getUserName().equals(lastUsed.getUserName()) && latest.getPassword().equals(lastUsed.getPassword())))
    useLatest = true;
if (useLatest)
if (lastUsed == null || !(latest.getUserName().equals(lastUsed.getUserName()) && latest.getPassword().equals(lastUsed.getPassword())))
  return latest;
        prefNode = securePreferences.node(nodeName);
      try {
        prefNode.put(IRepository.PROP_USERNAME, loginDetails.getUserName(), true);
        prefNode.put(IRepository.PROP_PASSWORD, loginDetails.getPassword(), true);
        prefNode.flush();
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.p2.repository

boolean useLatest = false;
if (latest != null && lastUsed != null)
  if (!(latest.getUserName().equals(lastUsed.getUserName()) && latest.getPassword().equals(lastUsed.getPassword())))
    useLatest = true;
if (useLatest)
if (lastUsed == null || !(latest.getUserName().equals(lastUsed.getUserName()) && latest.getPassword().equals(lastUsed.getPassword())))
  return latest;
        prefNode = securePreferences.node(nodeName);
      try {
        prefNode.put(IRepository.PROP_USERNAME, loginDetails.getUserName(), true);
        prefNode.put(IRepository.PROP_PASSWORD, loginDetails.getPassword(), true);
        prefNode.flush();
origin: org.eclipse.platform/org.eclipse.equinox.p2.transport.ecf

try {
  loginDetails = Credentials.forLocation(toDownload, promptUser, loginDetails);
  IConnectContext context = (loginDetails == null) ? null : ConnectContextFactory.createUsernamePasswordConnectContext(loginDetails.getUserName(), loginDetails.getPassword());
org.eclipse.equinox.p2.coreUIServices$AuthenticationInfogetUserName

Popular methods of UIServices$AuthenticationInfo

  • getPassword
  • <init>
  • saveResult

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • getSystemService (Context)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JTable (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)