Loading projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/web/users/ModifyUserAction.java +2 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ import ca.nrc.cadc.ac.User; import ca.nrc.cadc.ac.server.UserPersistence; import ca.nrc.cadc.auth.HttpPrincipal; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.InputStream; import java.security.Principal; Loading Loading @@ -107,6 +108,7 @@ public class ModifyUserAction extends UsersAction } else { response.setStatus(HttpServletResponse.SC_OK); redirectGet(httpPrincipals.toArray( new HttpPrincipal[1])[0].getName()); } Loading projects/cadcAccessControl/src/ca/nrc/cadc/ac/json/UserRequestReader.java +1 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ public class UserRequestReader { if (json == null) { throw new IllegalArgumentException("XML must not be null"); throw new IllegalArgumentException("JSON must not be null"); } else { Loading Loading
projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/web/users/ModifyUserAction.java +2 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ import ca.nrc.cadc.ac.User; import ca.nrc.cadc.ac.server.UserPersistence; import ca.nrc.cadc.auth.HttpPrincipal; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.InputStream; import java.security.Principal; Loading Loading @@ -107,6 +108,7 @@ public class ModifyUserAction extends UsersAction } else { response.setStatus(HttpServletResponse.SC_OK); redirectGet(httpPrincipals.toArray( new HttpPrincipal[1])[0].getName()); } Loading
projects/cadcAccessControl/src/ca/nrc/cadc/ac/json/UserRequestReader.java +1 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ public class UserRequestReader { if (json == null) { throw new IllegalArgumentException("XML must not be null"); throw new IllegalArgumentException("JSON must not be null"); } else { Loading