Get the JCR password. This is not required.

@return the JCR password, or null if no password was specified
507322
public char[] getPassword() {
        String result = properties.getProperty(LocalJcrDriver.PASSWORD_PROPERTY_NAME);
        return result != null ? result.toCharArray() : null;
    }
605240
public JSConsumerKey getParent()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getParent");

    JSConsumerKey key = this;
    if(keyGroup != null)
      key = keyGroup;

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getParent", key);

    return key;
  }
1053652
public Key getKey(String alias, String password) {
        try {
            return keyStore.getKey(alias, password.toCharArray());
        } catch (GeneralSecurityException e) {
            throw new IllegalStateException(e);
        }
    }
826824
public Credentials getCredentials() {
        if (!Utils.isEmpty(tenant) || !Utils.isEmpty(user)) {
            return new Credentials(tenant, user, password);
        }
        return null;
    }
687889
@Override
   public Credential getPrefillCredential()
   {
      if (this.prefillCredential == null)
      {
         if (cm.getSubjectFactory() == null || cm.getConnectionManagerConfiguration().getSecurityDomain() == null)
         {
            prefillCredential = new Credential(null, null);
         }
         else
         {
            prefillCredential =
               new Credential(SecurityActions.createSubject(cm.getSubjectFactory(),
                                                            cm.getConnectionManagerConfiguration().getSecurityDomain(),
                                                            cm.getManagedConnectionFactory()),
                              null);
         }
      }
      return this.prefillCredential;
   }
693802
public static ConstraintSecurityHandler getConstraintSecurityHandlerConfidential() {
        Constraint constraint = new Constraint();
        constraint.setDataConstraint(Constraint.DC_CONFIDENTIAL);

        ConstraintMapping constraintMapping = new ConstraintMapping();
        constraintMapping.setConstraint(constraint);
        constraintMapping.setPathSpec("/*");

        ConstraintSecurityHandler constraintSecurityHandler = new ConstraintSecurityHandler();
        constraintSecurityHandler.addConstraintMapping(constraintMapping);

        return constraintSecurityHandler;
    }
499590
public K key() {
    if (jc.hasNext()) {
      return jc.key();
    }
    if (!q.isEmpty()) {
      return q.peek().key();
    }
    return null;
  }
1252545
public ICredentialRepository getCredentialRepository()
    {
        if (this.credentialRepositorySearched) return this.credentialRepository;

        this.credentialRepositorySearched = true;

        ServiceLoader<ICredentialRepository> loader =
                ServiceLoader.load(ICredentialRepository.class);

        //noinspection LoopStatementThatDoesntLoop
        for (ICredentialRepository repository : loader)
        {
            this.credentialRepository = repository;
            break;
        }

        return this.credentialRepository;
    }
447200
public Principal getUserPrincipal()
    {
        if (_userPrincipal == __NO_USER) return null;

        if (_userPrincipal == __NOT_CHECKED)
        {
            _userPrincipal = __NO_USER;

            // Try a lazy authentication
            HttpContext context = getHttpResponse().getHttpContext();
            if (context != null)
            {
                Authenticator auth = context.getAuthenticator();
                UserRealm realm = context.getRealm();
                if (realm != null && auth != null)
                {
                    try
                    {
                        // TODO - should not need to recalculate this!
                        String pathInContext = getPath().substring(
                                context.getContextPath().length());
                        auth.authenticate(realm, pathInContext, this, null);
                    }
                    catch (Exception e)
                    {
                        LogSupport.ignore(log, e);
                    }
                }
            }

            if (_userPrincipal == __NO_USER) return null;
        }
        return _userPrincipal;
    }
737351
@Override
    public String getPath() {
        try {
            final String path = node.getPath();
            return path.endsWith("/" + JCR_CONTENT) ? path.substring(0, path.length() - JCR_CONTENT.length() - 1)
                : path;
        } catch (final RepositoryException e) {
            throw new RepositoryRuntimeException(e);
        }
    }
1361352
public GVRRenderPass getPass(int passIndex) {
        if (passIndex < mRenderPassList.size()) {
            return mRenderPassList.get(passIndex);
        } else {
            Log.e(TAG, "Trying to get invalid pass. Pass " + passIndex + " was not created.");
            return null;
        }
    }
896910
protected PrivateKey getKey(KeyStore ks, String alias, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException {
      return CertificateHelper.getKey(ks, alias, password);
   }
542306
private char[] getPassword()
    {
        String password = null;
        if (this.getField() != null)
            if (((BaseField)this.getField()).getRecord().getRecordOwner() != null)
                password = ((BaseField)this.getField()).getRecord().getRecordOwner().getProperty("keystorePassword");
        if (password == null)
        {
            byte[] rgBytes = DEFAULT_PASSWORD.clone();
            rgBytes = XorEncryptedConverter.encrypt(rgBytes, (byte)'E');
            password = new String(rgBytes);
        }
        return password.toCharArray();
    }
1221581
@Override
	public char[] getPropertyPassword(Class<?> aClass, String key,
			char[] defaultPassword)
	{
		return getPropertyPassword(new StringBuilder(aClass.getName()).append(".").append(key).toString(),
				defaultPassword);
	}
1064651
public AWSCredentials getCredentials() {
        if (credentialProvider != null) {
            return credentialProvider.getCredentials();
        } else {
            credentialProvider = new JsonStaticCredentialsProvider(credentials);
            return credentialProvider.getCredentials();
        }
    }
887547
public String getAnswer() {
    if (OutputElement_Type.featOkTst && ((OutputElement_Type)jcasType).casFeat_answer == null)
      jcasType.jcas.throwFeatMissing("answer", "edu.cmu.lti.oaqa.framework.types.OutputElement");
    return jcasType.ll_cas.ll_getStringValue(addr, ((OutputElement_Type)jcasType).casFeatCode_answer);}
1060146
protected PasswordAuthentication getPasswordAuthentication() {
        // Don't worry, this is just a hack to figure out if we were able
        // to set this Authenticator through the setDefault method.
        if (!sInitialized && MAGIC.equals(getRequestingScheme()) && getRequestingPort() == FOURTYTWO) {
            return new PasswordAuthentication(MAGIC, ("" + FOURTYTWO).toCharArray());
        }
        /*
         System.err.println("getPasswordAuthentication");
         System.err.println(getRequestingSite());
         System.err.println(getRequestingPort());
         System.err.println(getRequestingProtocol());
         System.err.println(getRequestingPrompt());
         System.err.println(getRequestingScheme());
         */

        // TODO:
        // Look for a more specific PasswordAuthenticatior before using
        // Default:
        //
        // if (...)
        //    return pa.requestPasswordAuthentication(getRequestingSite(),
        //    	                                      getRequestingPort(),
        //                                            getRequestingProtocol(),
        //                                            getRequestingPrompt(),
        //                                    	      getRequestingScheme());

        return passwordAuthentications.get(new AuthKey(getRequestingSite(),
                getRequestingPort(),
                getRequestingProtocol(),
                getRequestingPrompt(),
                getRequestingScheme()));
    }