agave-common/common-core/src/main/java/org/iplantc/service/common/auth/AuthorizationHelper.java
/**
      * Checks whether the current authenticated user is a super
      * admin based on whether they are currently authenticated and 
      * have the appropriate role and the existence of the user in
      * the local admin config file.
      * 
      * @param username
      * @return true if they are explicitly or implicitly defined as an admin
      */
Checks whether the current authenticated user is a super
admin based on whether they are currently authenticated and
have the appropriate role and the existence of the user in
the local admin config file.

@param username
@return true if they are explicitly or implicitly defined as an admin
Checks whether the current authenticated user is a super admin based on whether they are currently authenticated and have the appropriate role and the existence of the user in the local admin config file . @param username @return true if they are explicitly or implicitly defined as an admin
public static boolean isSuperAdmin(String username)
     {   
         return (TenancyHelper.isTenantAdmin(username) 
                 || isUserInLocalConfigurationFile(username));
     }
public static boolean isSuperAdmin ( String username ) { return ( TenancyHelper . isTenantAdmin ( username ) || isUserInLocalConfigurationFile ( username ) ) ; }
Checks whether the current authenticated user is a super
 admin based on whether they are currently authenticated and
 have the appropriate role and the existence of the user in
 the local admin config file.
Checks whether the current authenticated user is a super admin based on whether they are currently authenticated and have the appropriate role and the existence of the user in the local admin config file .