Codota Logo
CassandraLoginModule.cleanUpInternalState
Code IndexAdd Codota to your IDE (free)

How to use
cleanUpInternalState
method
in
org.apache.cassandra.auth.CassandraLoginModule

Best Java code snippets using org.apache.cassandra.auth.CassandraLoginModule.cleanUpInternalState (Showing top 12 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: org.apache.cassandra/cassandra-all

/**
 * Logout the user.
 *
 * This method removes the principal that was added by the
 * {@code}commit{@code} method.
 *
 * @return true in all cases since this {@code}LoginModule{@code}
 *         should not be ignored.
 * @throws LoginException if the logout fails.
 */
@Override
public boolean logout() throws LoginException
{
  subject.getPrincipals().remove(principal);
  succeeded = false;
  cleanUpInternalState();
  principal = null;
  return true;
}
origin: jsevellec/cassandra-unit

/**
 * Logout the user.
 *
 * This method removes the principal that was added by the
 * {@code}commit{@code} method.
 *
 * @return true in all cases since this {@code}LoginModule{@code}
 *         should not be ignored.
 * @throws LoginException if the logout fails.
 */
@Override
public boolean logout() throws LoginException
{
  subject.getPrincipals().remove(principal);
  succeeded = false;
  cleanUpInternalState();
  principal = null;
  return true;
}
origin: com.strapdata.cassandra/cassandra-all

/**
 * Logout the user.
 *
 * This method removes the principal that was added by the
 * {@code}commit{@code} method.
 *
 * @return true in all cases since this {@code}LoginModule{@code}
 *         should not be ignored.
 * @throws LoginException if the logout fails.
 */
@Override
public boolean logout() throws LoginException
{
  subject.getPrincipals().remove(principal);
  succeeded = false;
  cleanUpInternalState();
  principal = null;
  return true;
}
origin: com.strapdata.cassandra/cassandra-all

cleanUpInternalState();
principal = null;
origin: jsevellec/cassandra-unit

  subject.getPrincipals().add(principal);
cleanUpInternalState();
commitSucceeded = true;
return true;
origin: org.apache.cassandra/cassandra-all

  subject.getPrincipals().add(principal);
cleanUpInternalState();
commitSucceeded = true;
return true;
origin: jsevellec/cassandra-unit

cleanUpInternalState();
principal = null;
origin: com.strapdata.cassandra/cassandra-all

  subject.getPrincipals().add(principal);
cleanUpInternalState();
commitSucceeded = true;
return true;
origin: org.apache.cassandra/cassandra-all

cleanUpInternalState();
principal = null;
origin: org.apache.cassandra/cassandra-all

cleanUpInternalState();
throw new FailedLoginException(e.getMessage());
origin: jsevellec/cassandra-unit

cleanUpInternalState();
throw new FailedLoginException(e.getMessage());
origin: com.strapdata.cassandra/cassandra-all

cleanUpInternalState();
throw new FailedLoginException(e.getMessage());
org.apache.cassandra.authCassandraLoginModulecleanUpInternalState

Popular methods of CassandraLoginModule

  • authenticate
  • logout
    Logout the user. This method removes the principal that was added by the commit method.

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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