----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37472/#review95398 -----------------------------------------------------------
LGTM. A minor issue: In method RequestContext#getUserName(), there is code like this: AuthenticationManager.getAuthenticationHandler().isSecurityEnabled(). This should be fixed accordingly too. - Dian Fu On Aug. 14, 2015, 7:12 a.m., Colin Ma wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37472/ > ----------------------------------------------------------- > > (Updated Aug. 14, 2015, 7:12 a.m.) > > > Review request for Sqoop. > > > Repository: sqoop-sqoop2 > > > Description > ------- > > There has some problems when using singleton pattern in AuthenticationManager > and AuthorizationManager. > > > Diffs > ----- > > core/src/main/java/org/apache/sqoop/security/AuthenticationManager.java > 603643f > core/src/main/java/org/apache/sqoop/security/AuthorizationManager.java > 7699862 > > Diff: https://reviews.apache.org/r/37472/diff/ > > > Testing > ------- > > > Thanks, > > Colin Ma > >
