Codota Logo
AuthenticationParameters.<init>
Code IndexAdd Codota to your IDE (free)

How to use
javax.security.enterprise.authentication.mechanism.http.AuthenticationParameters
constructor

Best Java code snippets using javax.security.enterprise.authentication.mechanism.http.AuthenticationParameters.<init> (Showing top 6 results out of 315)

  • Common ways to obtain AuthenticationParameters
private void myMethod () {
AuthenticationParameters a =
  • Codota Iconnew AuthenticationParameters()
  • Codota IconHttpMessageContextWrapper httpMessageContextWrapper;httpMessageContextWrapper.getWrapped().getAuthParameters()
  • Smart code suggestions by Codota
}
origin: javax/javaee-web-api

/**
 * Creates a new instance of AuthenticationParameters, useful for a fluent/builder
 * style creation of parameters.
 * 
 * @return a new AuthenticationParameters instance.
 */
public static AuthenticationParameters withParams() {
  return new AuthenticationParameters();
}
origin: javax.security.enterprise/javax.security.enterprise-api

/**
 * Creates a new instance of AuthenticationParameters, useful for a fluent/builder
 * style creation of parameters.
 * 
 * @return a new AuthenticationParameters instance.
 */
public static AuthenticationParameters withParams() {
  return new AuthenticationParameters();
}
origin: jboss/jboss-javaee-specs

/**
 * Creates a new instance of AuthenticationParameters, useful for a fluent/builder
 * style creation of parameters.
 * 
 * @return a new AuthenticationParameters instance.
 */
public static AuthenticationParameters withParams() {
  return new AuthenticationParameters();
}
origin: jakarta.security.enterprise/jakarta.security.enterprise-api

/**
 * Creates a new instance of AuthenticationParameters, useful for a fluent/builder
 * style creation of parameters.
 * 
 * @return a new AuthenticationParameters instance.
 */
public static AuthenticationParameters withParams() {
  return new AuthenticationParameters();
}
origin: org.glassfish.soteria/javax.security.enterprise

public static AuthenticationParameters getAuthParameters(HttpServletRequest request) {
  AuthenticationParameters authParameters = (AuthenticationParameters) request.getAttribute(AUTH_PARAMS);
  if (authParameters == null) {
    authParameters = new AuthenticationParameters();
  }
  
  return authParameters;
}

origin: javaee/security-soteria

public static AuthenticationParameters getAuthParameters(HttpServletRequest request) {
  AuthenticationParameters authParameters = (AuthenticationParameters) request.getAttribute(AUTH_PARAMS);
  if (authParameters == null) {
    authParameters = new AuthenticationParameters();
  }
  
  return authParameters;
}

javax.security.enterprise.authentication.mechanism.httpAuthenticationParameters<init>

Popular methods of AuthenticationParameters

  • setCredential
    Sets the credential as parameter in this instance.
  • setNewAuthentication
    Sets whether a new authentication dialog is required.
  • setRememberMe
    Sets whether "remember me" should be used.
  • getCredential
    The credential set as parameter in this instance.
  • isNewAuthentication
    Whether a new authentication dialog is required.

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • requestLocationUpdates (LocationManager)
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • JComboBox (javax.swing)
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
  • Join (org.hibernate.mapping)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now