Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
com.cloudera.impala.authorization.AuthorizationChecker Class Reference
Collaboration diagram for com.cloudera.impala.authorization.AuthorizationChecker:

Public Member Functions

 AuthorizationChecker (AuthorizationConfig config, AuthorizationPolicy policy)
 
AuthorizationConfig getConfig ()
 
Set< String > getUserGroups (User user)
 
void checkAccess (User user, PrivilegeRequest privilegeRequest) throws AuthorizationException
 
boolean hasAccess (User user, PrivilegeRequest request)
 

Static Private Member Functions

static
ResourceAuthorizationProvider 
createProvider (AuthorizationConfig config, AuthorizationPolicy policy)
 

Private Attributes

final ResourceAuthorizationProvider provider_
 
final AuthorizationConfig config_
 
final AuthorizeableServer server_
 

Detailed Description

Definition at line 41 of file AuthorizationChecker.java.

Constructor & Destructor Documentation

Member Function Documentation

void com.cloudera.impala.authorization.AuthorizationChecker.checkAccess ( User  user,
PrivilegeRequest  privilegeRequest 
) throws AuthorizationException
inline
AuthorizationConfig com.cloudera.impala.authorization.AuthorizationChecker.getConfig ( )
inline
Set<String> com.cloudera.impala.authorization.AuthorizationChecker.getUserGroups ( User  user)
inline

Returns the set of groups this user belongs to. Uses the GroupMappingService that is in the AuthorizationProvider to properly resolve Hadoop groups or local group mappings.

Definition at line 111 of file AuthorizationChecker.java.

References com.cloudera.impala.authorization.User.getShortName().

Member Data Documentation

final ResourceAuthorizationProvider com.cloudera.impala.authorization.AuthorizationChecker.provider_
private
final AuthorizeableServer com.cloudera.impala.authorization.AuthorizationChecker.server_
private

The documentation for this class was generated from the following file: