org.apache.cassandra.auth

Class AuthenticatedUser

  • java.lang.Object
    • org.apache.cassandra.auth.AuthenticatedUser


  • public class AuthenticatedUserextends java.lang.Object
    Returned from IAuthenticator#authenticate(), represents an authenticated user everywhere internally.
    • Constructor Summary

      Constructors 
      Constructor and Description
      AuthenticatedUser(java.lang.String name) 
    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object o) 
      java.lang.StringgetName() 
      inthashCode() 
      booleanisAnonymous()
      If IAuthenticator doesn't require authentication, this method may return true.
      booleanisSuper()
      Checks the user's superuser status.
      java.lang.StringtoString() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuthenticatedUser

        public AuthenticatedUser(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
      • isSuper

        public boolean isSuper()
        Checks the user's superuser status. Only a superuser is allowed to perform CREATE USER and DROP USER queries. Im most cased, though not necessarily, a superuser will have Permission.ALL on every resource (depends on IAuthorizer implementation).
      • isAnonymous

        public boolean isAnonymous()
        If IAuthenticator doesn't require authentication, this method may return true.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object

Copyright © 2013 The Apache Software Foundation



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14