org.sonatype.aether.repository.Authentication.setPasswordInternal()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(70)

本文整理了Java中org.sonatype.aether.repository.Authentication.setPasswordInternal()方法的一些代码示例,展示了Authentication.setPasswordInternal()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Authentication.setPasswordInternal()方法的具体详情如下:
包路径:org.sonatype.aether.repository.Authentication
类名称:Authentication
方法名:setPasswordInternal

Authentication.setPasswordInternal介绍

暂无

代码示例

代码示例来源:origin: sonatype/sonatype-aether

/**
 * Sets the password to use for authentication.
 * 
 * @param password The password, may be {@code null}.
 * @return The new authentication, never {@code null}.
 */
public Authentication setPassword( String password )
{
  return setPasswordInternal( toChars( password ) );
}

代码示例来源:origin: org.sonatype.aether/aether-api

/**
 * Sets the password to use for authentication.
 * 
 * @param password The password, may be {@code null}.
 * @return The new authentication, never {@code null}.
 */
public Authentication setPassword( char[] password )
{
  return setPasswordInternal( clone( password ) );
}

代码示例来源:origin: org.sonatype.aether/aether-api

/**
 * Sets the password to use for authentication.
 * 
 * @param password The password, may be {@code null}.
 * @return The new authentication, never {@code null}.
 */
public Authentication setPassword( String password )
{
  return setPasswordInternal( toChars( password ) );
}

代码示例来源:origin: org.sonatype.aether/org.motechproject.aether-api

/**
 * Sets the password to use for authentication.
 * 
 * @param password The password, may be {@code null}.
 * @return The new authentication, never {@code null}.
 */
public Authentication setPassword( char[] password )
{
  return setPasswordInternal( clone( password ) );
}

代码示例来源:origin: org.sonatype.aether/org.motechproject.aether-api

/**
 * Sets the password to use for authentication.
 * 
 * @param password The password, may be {@code null}.
 * @return The new authentication, never {@code null}.
 */
public Authentication setPassword( String password )
{
  return setPasswordInternal( toChars( password ) );
}

代码示例来源:origin: sonatype/sonatype-aether

/**
 * Sets the password to use for authentication.
 * 
 * @param password The password, may be {@code null}.
 * @return The new authentication, never {@code null}.
 */
public Authentication setPassword( char[] password )
{
  return setPasswordInternal( clone( password ) );
}

相关文章