Tabnine Logo
AuthenticationParameters.<init>
Code IndexAdd Tabnine 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)

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

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now