public static AuthRequest createAuthRequest (
            Credentials creds, String version, String[] bootGroups, boolean requireSecureAuth)
    {
        return createAuthRequest(creds, version, bootGroups, requireSecureAuth, null, null);
    }
public static AuthRequest createAuthRequest ( Credentials creds , String version , String [ ] bootGroups , boolean requireSecureAuth ) { return createAuthRequest ( creds , version , bootGroups , requireSecureAuth , null , null ) ; }
Creates an auth request, secured if able, unsecured if not.